i have implemented this with little aliases in the past, seemed to work well:

```py
def checkbox(set_to=False, loc):
 ...

check = partial(checkbox, True)
uncheck = partial(checkbox, False)
```