Determine if Relation is a Function