isAncestorOf

Returns true if this element is an ancestor (immediate or nested parent) of the specified name.

Return

true if this name is an ancestor

Parameters

name

the name to check