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