public function isExpired($now)
    {
        if (! $this->expiry) {
            return true;
        }
        if (is_string($now)) {
            $now = strtotime($now);
        }

        return ($this->expiry < $now);
    }