Returns true if the specified attribute is set.
attribute name
true if the node has the given attribute