# File lib/xml/dom2/element.rb, line 508
def
hasAttribute
(
name
)
!
getAttributeNode
(
name
).
nil?
end