marktools.is_component_with_articulation_attached

abjad.tools.marktools.is_component_with_articulation_attached.is_component_with_articulation_attached(expr, articulation_name=None)[source]

New in version 2.3.

True when expr is component with articulation attached:

abjad> note = Note("c'4")
abjad> marktools.Articulation('staccato')(note)
Articulation('staccato')(c'4)
abjad> marktools.is_component_with_articulation_attached(note)
True

False otherwise:

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

Return boolean.

This Page