def METHOD_NAME(self, user_id_token):
    """Check if user id token is expired"""
    token_data = json.loads(base64.standard_b64decode(user_id_token['tokendata']))
    # Subtract 5min as a safety measure
    return (token_data['expiration'] - 300) < time.time()