code: public boolean isParentFolderOf(String sitePath) {
  
          return (sitePath != null)
              && isFolder()
              && ((sitePath.indexOf(getSitePath()) == 0))
              && (sitePath.length() > getSitePath().length());
      }
docs: Returns <code>true</code> in case this resource is a parent folder of the provided resource path in the current site.<p>
  
  No check is performed to see if the provided site path resource actually exists.<p>
  
  @param sitePath the path to check
  
  @return <code>true</code> in case this resource is a parent folder of the provided resource path in the current site