public function hasListeners($name)
    {
        $result = false;
        if (isset($this->_listeners[$name])) {
            $result = !empty($this->_listeners[$name]);
        }
        
        return $result;
    }
public function hasListeners($name)
    {
        $result = false;
        if (isset($this->_listeners[$name])) {
            $result = !empty($this->_listeners[$name]);
        }
        
        return $result;
    }
public function hasListeners ( $ name ) { $ result = false ; if ( isset ( $ this -> _listeners [ $ name ] ) ) { $ result = ! empty ( $ this -> _listeners [ $ name ] ) ; } return $ result ; }
Check if we are listening to a specific event

@param   string  The event name
@return  boolean	TRUE if we are listening for a specific event, otherwise FALSE.
Check if we are listening to a specific event