
## should_render_attachment {#str}

Determines whether a specific attachment should be rendered based on the current options.


### Returns 


true if the attachment should be rendered; otherwise, false.


```python
def should_render_attachment(self, attachment_url):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| attachment_url | str | The URL of the attachment to check. |
### Exceptions
| Exception | Description |
| :- | :- |
| ArgumentNullException | Thrown when `attachment_url` is null. |





### See Also
* module [`aspose.html.rendering`](../../)
* class [`MhtmlRenderingOptions`](/html/python-net/aspose.html.rendering/mhtmlrenderingoptions)
