docs: public String getParentFolder(Object obj) {
  
          String result;
          if (obj instanceof CmsResource) {
              result = CmsResource.getParentFolder(m_cms.getRequestContext().getSitePath((CmsResource)obj));
          } else {
              result = CmsResource.getParentFolder(String.valueOf(obj));
          }
          return result;
      }