public function hasListeners($eventName)
    {
        return isset($this->listeners[$eventName]) || isset($this->wildcards[$eventName]);
    }
public function hasListeners($eventName)
    {
        return isset($this->listeners[$eventName]) || isset($this->wildcards[$eventName]);
    }
public function hasListeners ( $ eventName ) { return isset ( $ this -> listeners [ $ eventName ] ) || isset ( $ this -> wildcards [ $ eventName ] ) ; }
Determine if a given event has listeners.

@param  string  $eventName
@return bool
Determine if a given event has listeners .