check if the given f is a Function
the object that you want to check
true if f is a Function, false in other cases
check if the given f is a Function