Programmer's Guide > Interfaces > W3C Node interface > hasAttributes method
  
hasAttributes method
Returns whether this node (if it is an element) has any attributes.
hasAttributes( )
Parameters
None
Returns
trueboolean. if this node has any attributes, false otherwise.