Update IEventDispatcher.java

added hasEventListener