code: def list_(bank):
      '''
      Lists entries stored in the specified bank.
      '''
      redis_server = _get_redis_server()
      bank_redis_key = _get_bank_redis_key(bank)
      try:
          banks = redis_server.smembers(bank_redis_key)
      except (RedisConnectionError, RedisResponseError) as rerr:
          mesg = 'Cannot list the Redis cache key {rkey}: {rerr}'.format(rkey=bank_redis_key,
                                                                         rerr=rerr)
          log.error(mesg)
          raise SaltCacheError(mesg)
      if not banks:
          return []
      return list(banksf list_(bank):
      '''
      Lists entries stored in the specified bank.
      '''
      redis_server = _get_redis_server()
      bank_redis_key = _get_bank_redis_key(bank)
      try:
          banks = redis_server.smembers(bank_redis_key)
      except (RedisConnectionError, RedisResponseError) as rerr:
          mesg = 'Cannot list the Redis cache key {rkey}: {rerr}'.format(rkey=bank_redis_key,
                                                                         rerr=rerr)
          log.error(mesg)
          raise SaltCacheError(mesg)
      if not banks:
          return []
      return list(banks)
docs: Lists entries stored in the specified bank.