docs: protected CmsResource checkContainsSubResources(CmsObject cms, List<CmsResource> folders) throws CmsException {
  
          for (CmsResource folder : folders) {
  
              if (!containsSubResources(cms, folder)) {
                  return folder;
              }
          }
          return null;
      }