IsMethod 

Use this method to return a boolean value indicating whether or not the selected object is a method.

Syntax

IsMethod ()