// Whether the first live node is a collapsed compound parent
ele.collapsed(): booleanWhether the first live node is a collapsed compound parent.
Returns
booleantrue from collapse start until expansion completes; false for leaves, edges and removed elements