Returns true if the element has defined this attribute.
true
@override bool hasAttr(String name) => _element.attributes.containsKey(name);