def expired(self):
        now = timezone.now()
        if self.created < now - token_settings.EXPIRING_TOKEN_LIFESPAN:
            return True
        return False
Returns True if both strings correspond to equivalent locale conventions
dataset/ETHPy150Open JamesRitchie/django-rest-framework-expiring-tokens/rest_framework_expiring_authtoken/models.py/ExpiringToken.expired--crossover with--dataset/ETHPy150Open bigmlcom/python/bigml/util.py/locale_synonyms