Determine If the Relation is a Function