code: protected boolean isContainerConfiguration(String rootPath, int type) {
  
          return OpenCms.getResourceManager().matchResourceType(
              CmsResourceTypeXmlContainerPage.INHERIT_CONTAINER_CONFIG_TYPE_NAME,
              type)
              && !CmsResource.isTemporaryFileName(rootPath)
              && rootPath.endsWith("/" + INHERITANCE_CONFIG_FILE_NAME);
      }
docs: Checks whether a given combination of path and resource type belongs to an inherited container configuration file.<p>
  
  @param rootPath the root path of the resource
  @param type the type id of the resource
  
  @return true if the given root path / type combination matches an inherited container configuration file