has_attribute method
has_attribute
Returns true when an attribute with a given name is specified on this element or has a default value, false otherwise.
Returns
true
if the specified name has attribute; otherwise, false
.
def has_attribute(self, qualified_name):
...
Parameter | Type | Description |
---|---|---|
qualified_name | str | The attribute name. |
See Also
- module
aspose.html
- class
HTMLBaseElement