@classmethod
    def should_backoff(cls, key):
        cache_key = cls._get_cache_key(key)
        return not cls._number_is_power_of_two(cache.get(cache_key) or 1)
dataset/ETHPy150Open dimagi/commcare-hq/corehq/util/cache_utils.py/ExponentialBackoff.should_backoff/original