public function is($mode, $nick, $chan)
    {
        $userMode = $this->storage->getUserMode($nick, $chan);

        if ($userMode) {
            return ($userMode & $mode) != 0;
        } else {
            return false;
        }
    }