Fuel\Event\Listener::is PHP Method

is() public method

Retrieve wether the event object matches a set of event params.
public is ( $event, $handler, $context ) : boolean
return boolean wether the event object matches the params
    public function is($event, $handler, $context)
    {
        if (($event === null or $this->event === $event) and ($handler === null or $this->handler === $handler) and ($context === null or $this->context === $context)) {
            return true;
        }
        return false;
    }