This is not necessary. The "zero" values all count as false: None, 0, empty string, empty list, empty dictionary.
The reason why you changed it is legit, fixed it somewhere else.

I'll merge it and change it back, because it's easier then cherry-pick (going to squash later anyway).