src/Dispatcher.php
private function hasHandlers(string $type): bool
    {
        return isset($this->handlers[$type]) && count($this->handlers[$type]) > 0;
    }
private function hasHandlers(string $type): bool
    {
        return isset($this->handlers[$type]) && count($this->handlers[$type]) > 0;
    }
private function hasHandlers ( string $ type ) : bool { return isset ( $ this -> handlers [ $ type ] ) && count ( $ this -> handlers [ $ type ] ) > 0 ; }
Check if actual dispatcher has handler for given type

@param string $type

@return bool
Check if actual dispatcher has handler for given type