Why wrapping the boolean expression in `bool()`?