componenttools.is_orphan_component

abjad.tools.componenttools.is_orphan_component.is_orphan_component(component)[source]

New in version 1.1.

True when component has no parent. Otherwise false:

abjad> note = Note("c'4")
abjad> componenttools.is_orphan_component(note)
True

Return boolean.

Changed in version 2.0: renamed componenttools.component_is_orphan() to componenttools.is_orphan_component().

This Page