// Whether the first element is a node with no children
ele.isChildless(): booleanWhether the first element is a node with no children.
Returns
booleantrue for a node with no children; false for edges, so it is not the plain negation of isParent()