New in version 1.1.
True when elements in expr are all components in same thread. Otherwise false:
abjad> voice = Voice("c'8 d'8 e'8")
abjad> componenttools.all_are_components_in_same_thread(voice.leaves)
True
True when elements in expr are all klasses in same thread. Otherwise false:
abjad> voice = Voice("c'8 d'8 e'8")
abjad> componenttools.all_are_components_in_same_thread(voice.leaves, klasses = Note)
True
Return boolean.