pub fn is_tag_name<T>(s: T) -> boolwhere T: AsRef<str>,
Return true if the string is a valid tag name.