DOMElement->hasAttribute()
Checks to see if attribute exists
&reftitle.description;
DOMElement
bool
hasAttribute
stringname
Indicates whether attribute named name
exists as a member of the element.
&reftitle.parameters;
name
The attribute name.
&reftitle.returnvalues;
&return.success;
&reftitle.seealso;