Diagram is attached. No, the relation is not a function.
In order for a relation to be a function, each input value must be mapped to no more than 1 output value. One of our input values, -2, is mapped to 2 output values (-1 and 0). Therefore this is not a function.