hasListener
Checks if there is at least one listener for the provided class.
Return
true if listener exists.
Parameters
eventClass
The class of the event to check.
Checks if there is at least one listener for the provided class.
true if listener exists.
The class of the event to check.