Yes, it is a function because domain ( x value) is not repeated
Domain: {7, 1, -1, 0}
Range: { 1, 1, 7, -1}