def check_access_token(access_token):
    results = requests.get(ACCESS_TOKEN_URL % access_token).json()
    return results.get("is_valid", False) or os.environ.get("USER_SALT") == access_token
dataset/ETHPy150Open sihrc/tornado-boilerplate/indico/utils/auth/facebook_utils.py/check_access_token/original