gh-139489: Add xml.is_valid_name() (GH-139768) It allows to check whether a string can be used as an element or attribute name in XML.