public function isExpired($now = null)
    {
        if ($now === null) { $now = time();
        }
        if (is_int($this->expires) && $this->expires < $now) {
            return true;
        } else {
            return false;
        }
    }