def METHOD_NAME(self) -> bool:
    """Whether the external cache is used or not.
    It's safe to use the cache when this returns false, the methods will
    just no-op, but the function is useful to avoid doing unnecessary work.
    """
    return self._redis_connection is not None