getIsFocalPointFunction function

A function to generate isFocalPoint functions