---
title: "has_attribute method"
url: "https://reference.aspose.com/html/python-net/aspose.html.dom.svg.filters/svgfedistantlightelement/has_attribute/"
product: "Aspose.HTML for Python via .NET API References"
---


## 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.filters`](../../)
* class [`SVGFEDistantLightElement`](/html/python-net/aspose.html.dom.svg.filters/svgfedistantlightelement)
