checkFunction function

Create an object of class checkFunction