
## has_attribute {#str}

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`.


```python
def has_attribute(self, qualified_name):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| qualified_name | str | The attribute name. |



### See Also
* module [`aspose.html.dom.svg`](../../)
* class [`SVGMPathElement`](/html/python-net/aspose.html.dom.svg/svgmpathelement)
