isExpired

Checks whether the token has expired.

Compares the expiresAt claim against the current system time. If expiresAt is 0 (parsing failed or no expiration set), returns true as a safety measure (treat invalid tokens as expired).

Return

true if the current time is after the expiration time, false otherwise