pub fn has_attribute(element: &str, name: &str) -> bool
Returns true when an element has the named attribute.
true