Checks whether a certain XPath exists inside the aggregate.
public func hasXPath(xPath: String) throws -> Bool
Used when there is no assurance that a certain XPath exists inside an aggregate.