IsFunction
Use this method to return a boolean value indicating whether or not the selected object is a function.
Syntax
IsFunction ()