Checks whether a certain XPath exists inside the aggregate.
public boolean hasXPath(String XPath);
Used when there is no assurance that a certain XPath exists inside an aggregate.