Answer:
No
Step-by-step explanation:
If you graph this function, you'll find that it looks like a vertical line, straight up and down. In a function, each x-value has to have exactly one y-value. In this function, however, any y-value you plug in gives you the same x-value: -2.
The one x-value, -2, has an infinite number of corresponding y-values, so this is definitely not a function.