Observe the table, the pairing is a function.
\Since each element in the input values pairing with only one element in the output values.
\It does not matter if more than one element of the input values is paired with one element of the output values.
Yes, the relation is function.