
## has_attribute_ns {#str-str}

Returns true when an attribute with a given local name and namespace URI is specified on this element or has a default value, false otherwise.


### Returns 


`true` if [has attribute NS] [the specified namespace URI]; otherwise, `false`.


```python
def has_attribute_ns(self, namespace_uri, local_name):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| namespace_uri | str | The namespace URI. |
| local_name | str | Name of the local. |



### See Also
* module [`aspose.html`](../../)
* class [`HTMLHRElement`](/html/python-net/aspose.html/htmlhrelement)
