def METHOD_NAME(response):
    """CloudFront specific check for evidence of a cache hit."""
    return response.headers["x-cache"] in (
        "Hit from cloudfront",
        "RefreshHit from cloudfront",
    )