def get_cached_response(self, key):
        """
        Retrieves a CachedResponse for the provided key.

        Args:
            key (string)

        Returns:
            A CachedResponse with is_found status and value.

        """
        cached_value = self.data.get(key, _CACHE_MISS)
        is_found = cached_value is not _CACHE_MISS
        return CachedResponse(is_found, key, cached_value)
def get_cached_response ( self , key ) : cached_value = self . data . get ( key , _CACHE_MISS ) is_found = cached_value is not _CACHE_MISS return CachedResponse ( is_found , key , cached_value )
Retrieves a CachedResponse for the provided key.

        Args:
            key (string)

        Returns:
            A CachedResponse with is_found status and value.