Hey there!!
The given set is a function
( x , y ) - this is the form in which we write co-ordinates
In order to be a function , at least x values shall repeat.
Noted down all the x values
2 , -1, 4 , -2
None of the values is repeating.
Hence, the given data is a function
Hope my answer helps!