Another handy thing is to allow `None`, which would mean do nothing

```py
if set_to is not None and el.is_selected() is not set_to:
```
something like that