No, the relation provided is not a function.
In a function, each input (or first element of the ordered pair) must be associated with exactly one output (or second element of the ordered pair). In your relation, the input "2" is associated with two different outputs (8 and 9), which violates the definition of a function.