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