def is_expired(self):
if self.expires_at is None:<EOL><INDENT>return True<EOL><DEDENT>if self.expires_in > <NUM_LIT:0>:<EOL><INDENT>return False<EOL><DEDENT>return True<EOL>
Determines if the token has expired.
:return: `True` if the token has expired. Otherwise `False`.