No it isn't, because (-2, 1) and (-2, 2) have the same FIRST
coordinate -2.
[It doesn't matter that some have the same SECOND coordinate.
It's only more than one point with the same FIRST coordinate
that prevents a set of ordered pairs from being a function.]
Edwin