isParentOf

Returns true if this element is an immediate parent of the specified name.

Return

true if this name is an ancestor

Parameters

name

the name to check