Given points, identify if it is a function