isEventEnabled
isEventEnabled(name: String): Boolean;
The isEventEnabled method of the Window class returns true if the event specified in the name parameter is currently enabled for the window of the receiver. By default, events are enabled.
To disable an event, use the Window class enableEvent method.