docs: private boolean hasLocaleDependencies() {
  
          for (CmsSearchIndexSource source : getIndex().getSources()) {
              if (source.getIndexer().isLocaleDependenciesEnable()) {
                  return true;
              }
          }
          return false;
      }