Graph y=x^2+1 is it a function

Is it a function? How did you determine whether or not it was a function?

Determine the range and domain