protected function verifyCookie()
    {
        if (!$this->parseCookie() || $this->parseCookie()->expires < current_time('timestamp')) {
            return false;
        }

        if ($this->parseCookie()->hash !== $this->getHash()) {
            return false;
        }

        return true;
    }