docs: public static boolean isDetailContainersPage(CmsObject cms, String detailContainersPage) {
  
          boolean result = false;
          try {
              String detailName = CmsResource.getName(detailContainersPage);
              String parentFolder = CmsResource.getParentFolder(detailContainersPage);
              if (!parentFolder.endsWith("/" + DETAIL_CONTAINERS_FOLDER_NAME + "/")) {
                  // this will be the case for locale dependent detail only pages, move one level up
                  parentFolder = CmsResource.getParentFolder(parentFolder);
              }
              detailName = CmsStringUtil.joinPaths(CmsResource.getParentFolder(parentFolder), detailName);
              result = parentFolder.endsWith("/" + DETAIL_CONTAINERS_FOLDER_NAME + "/")
                  && cms.existsResource(detailName, CmsResourceFilter.IGNORE_EXPIRATION);
          } catch (Throwable t) {
              // may happen in case string operations fail
              LOG.debug(t.getLocalizedMessage(), t);
          }
          return result;
      }