Determining if it is a function