assert that Point is a function