
## has_attribute(name) {#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 has attribute with the name; otherwise, false.


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


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



### See Also
* module [aspose.finance.xbrl.dom.inline](../../)
* class [InlineXbrlElement](/finance/python-net/aspose.finance.xbrl.dom.inline/inlinexbrlelement)
