/**
  * Checks whether an event has any registered listeners.
  *
  * @param string $eventName The name of the event
  *
  * @return bool true if the specified event has any listeners, false otherwise
  */
 public function hasListeners($eventName = null)
 {
     return $this->symfonyDispatcher->hasListeners($eventName) || $this->laravelDispatcher->hasListeners($eventName);
 }