marktools.is_component_with_mark_attached

abjad.tools.marktools.is_component_with_mark_attached.is_component_with_mark_attached(expr)[source]

New in version 2.3.

True when expr is component with mark attached:

abjad> note = Note("c'4")
abjad> marktools.Mark()(note)
Mark()(c'4)
abjad> marktools.is_component_with_mark_attached(note)
True

False otherwise:

abjad> note = Note("c'4")
abjad> marktools.is_component_with_mark_attached(note)
False

Return boolean.

This Page