code: def expired(self):
          
          now = timezone.now()
          if self.created < now - token_settings.EXPIRING_TOKEN_LIFESPAN:
              return True
          return False
docs: Return boolean indicating token expiration.