// Whether any node currently has a parent
cy.hasCompoundNodes(): booleanWhether any node currently has a parent. Worth checking because the compound tier changes paint evaluation and draw order; the renderer pays nothing for compounds while this is false.
Returns
booleantrue when the graph has at least one parent/child relation