
## supports {#str}

Returns true if a given token is in the associated attribute's supported tokens.


### Returns 


A Boolean indicating whether the token was found.


```python
def supports(self, token):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| token | str | The token to query for. |



### See Also
* module [`aspose.html.collections`](../../)
* class [`DOMTokenList`](/html/python-net/aspose.html.collections/domtokenlist)
