public function isExpired(DateTimeInterface $now): bool
    {
        if (! $this->claims->has(RegisteredClaims::EXPIRATION_TIME)) {
            return false;
        }

        return $now > $this->claims->get(RegisteredClaims::EXPIRATION_TIME);
    }