No, The given relation isn't a function.
[ For a relation to be a function, every value that lies in the domain ( set A ) should have only one corresponding value in its Range ( set B ) but here, -1 has two corresponding values that are : (-1) and (2) ]
Therefore, conclusion can be made that the given relation isn't a function.