docs: public boolean readHistoryEnabledForIndex(String index) {
          
          if(!this.enabled) {
              return false;
          }
          
          if(searchguardIndex.equals(index)) {
              return logInternalConfig;
          }
          
          try {
              return !cache.get(index).isEmpty();
          } catch (ExecutionException e) {
              log.error(e);
              return true;
          }
      }