docs: protected static boolean isFolder(CmsResource resource) throws CmsLoaderException {
  
          I_CmsResourceType resourceType = OpenCms.getResourceManager().getResourceType(resource.getTypeId());
          return resourceType.isFolder();
      }