Strictly speaking, no, it's not necessary. It just looked odd at first without it and I wasn't 100% sure it would work so I added the `bool()` to make it explicit. I'm happy to get rid of it again though.