is x=-2 a function

2 answers

yeah
no. y can have multiple values for x = -2.
It fails the vertical-line test, because the graph is a vertical line!