code: def get_cached_bitcoind_info(self):
          
          cached_bitcoind_info = self.cache.get('bitcoind_info', None)
          if cached_bitcoind_info is None:
              # not cached
              return None
  
          now = time.time()
          if cached_bitcoind_info['time'] + AVERAGE_SECONDS_PER_BLOCK < now:
              # stale
              return None
  
          return cached_bitcoind_info['getinfo']
docs: Get cached bitcoind info.
          Returns {...} on success
          Return None if it is stale