external hasAttribute : this:[> `Element] GdomeT.t -> name:TDOMString.t -> bool = "ml_gdome_el_hasAttribute"