has_attributes method
has_attributes
Returns whether this node (if it is an element) has any attributes
Returns
boolean true if this node has any attributes, false otherwise.
def has_attributes(self):
...
Returns whether this node (if it is an element) has any attributes
boolean true if this node has any attributes, false otherwise.
def has_attributes(self):
...