docs: public static boolean isResourceTypeNameFree(String name) {
  
          try {
              OpenCms.getResourceManager().getResourceType(name);
          } catch (CmsLoaderException e) {
              return true;
          }
          return false;
      }