def ensured(self, connection, obj, to_ensure_func, **kwargs):
        ensuring_func = connection.ensure(obj, to_ensure_func, errback=self.errback, max_retries=3)
        ensuring_func(**kwargs)
Checks the cache file to see if there is a new enough file list cache, and
dataset/ETHPy150Open StackStorm/st2/st2common/st2common/transport/connection_retry_wrapper.py/ConnectionRetryWrapper.ensured--crossover with--dataset/ETHPy150Open saltstack/salt/salt/fileserver/__init__.py/write_file_list_cache