code: public boolean checkXpathStartsWithXpathEventableCondition(Document dom,
  			EventableCondition eventableCondition, String xpath) throws XPathExpressionException {
  		if (eventableCondition == null || Strings
  				.isNullOrEmpty(eventableCondition.getInXPath())) {
  			throw new CrawljaxException("Eventable has no XPath condition");
  		}
  		List<String> expressions =
  				XPathHelper.getXpathForXPathExpressions(dom, eventableCondition.getInXPath());
  
  		return checkXPathUnderXPaths(xpath, expressions);
  	}
docs: Checks whether an XPath expression starts with an XPath eventable condition.
  
  @param dom                The DOM String.
  @param eventableCondition The eventable condition.
  @param xpath              The XPath.
  @return boolean whether xpath starts with xpath location of eventable condition xpath
  condition
  @throws XPathExpressionException
  @throws CrawljaxException        when eventableCondition is null or its inXPath has not been set