pub fn targets_include_rich_text(
    targets: &[Atom],
    buffer: &impl IsA<TextBuffer>
) -> bool