<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def extended(self):
 """Determine whether the OAuth token has been extended."""

        if self.expires_at:
            return self.expires_at - self.issued_at > timedelta(days=30)
        else:
            return False