Checks if there are elements that can be found by the specified Element Location Path interpreted against the specified context element.
This function returns the same result as the following call:
findElementsByLPath(element, lpath, ...).hasNext()
Parameters:
element
If this parameter is not specified, the Location Path will be interpreted
against the generator context element, which is the same as the call:
contextElement.checkElementsByLPath(lpath)
See Also: GOMContext.contextElement
lpath
You may use the Location Path Builder (found at the left panel's tree) to quickly construct a Location Path needed for this parameter.
true
, if at least one element can be found by the specified Location Path;
false
otherwise.
findElementsByLPath(), countElementsByLPath(), checkElementsByLRules()