WebFormEventContext.isComponent

Returns true if the event currently being executed forms part of a deployed component i.e. the control or page that is the event owner forms part of a deployed component, otherwise returns false.

returns boolean