Answer:
No. It is not a function
Explanation:
A relation is said to be a function between sets when every element of the first set have exactly one image in the second set.
Since, the element of first set i.e. 5 have two images 3 and -1 in the second set, it is not a function.