def _should_update_cache(self, request, response):
        return hasattr(request, '_cache_update_cache') or request._cache_update_cache
dataset/ETHPy150Open django/django/django/middleware/cache.py/UpdateCacheMiddleware._should_update_cache/operator `and` -> `or`