Answer:
Yes this is a function.
Step-by-step explanation:
Functions are those that DO NOT REPEAT x values, in this case, you will see that -2 repeats twice as an x value, but it is expressing the same point, so it will not be considered as going twice.
I can also say that if you are to graph this: