Ah yes, ideally the method that takes the boolean would not be there, but that's not how Java does things. Better still would be if we could do:

```python
handle.cancel(interruptIfRunning: true)
```

but this isn't python.