fn is_named_element_with_name_attribute(elem: &Element) -> bool