// Whether the first element is a node with at least one child
ele.isParent(): booleanWhether the first element is a node with at least one child.
Returns
booleantrue for a parent node; false for edges and for removed elements, which are nodes of no hierarchy