flight\core\Dispatcher::has PHP Method

has() public method

Checks if an event has been set.
public has ( string $name ) : boolean
$name string Event name
return boolean Event status
    public function has($name)
    {
        return isset($this->events[$name]);
    }