code: public boolean isDetailPage(CmsObject cms, CmsResource resource) {
  
          return getCache(isOnline(cms)).isDetailPage(cms, resource);
      }
docs: Checks whether the given resource is configured as a detail page.<p>
  
  @param cms the current CMS context
  @param resource the resource which should be tested
  
  @return true if the resource is configured as a detail page