docs: public boolean isLocaleIndependent() {
  
          CmsFile file = getFile();
          if (CmsResourceTypeXmlContainerPage.isContainerPage(file)
              || OpenCms.getResourceManager().matchResourceType(
                  CmsResourceTypeXmlContainerPage.GROUP_CONTAINER_TYPE_NAME,
                  file.getTypeId())
              || OpenCms.getResourceManager().matchResourceType(
                  CmsResourceTypeXmlContainerPage.INHERIT_CONTAINER_CONFIG_TYPE_NAME,
                  file.getTypeId())) {
              return true;
          }
  
          try {
              I_CmsResourceType resourceType = OpenCms.getResourceManager().getResourceType(file);
              if ((resourceType instanceof CmsResourceTypeLocaleIndependentXmlContent)
                  || (resourceType instanceof CmsResourceTypeXmlAdeConfiguration)) {
                  return true;
              }
          } catch (Exception e) {
              // ignore
          }
          return false;
  
      }