def is_expired(self):
    return (self.invalidated or
            now() >= (self.date_created + timedelta(seconds=self.lifetime)))
dataset/ETHPy150Open Locu/djoauth2/djoauth2/models.py/AccessToken.is_expired/original