public function has($key)
    {
        if (isset($this->token[$key]) and $this->getTime($key) >= time()) {
            return true;
        }

        return false;
    }
public function has($key)
    {
        if (isset($this->token[$key]) and $this->getTime($key) >= time()) {
            return true;
        }

        return false;
    }
{@inheritdoc}