STY: Boolean values for bint variables
- [ ] closes #xxxx
- [ ] tests added / passed
- [x] passes `black pandas`
- [x] passes `git diff upstream/master -u -- "*.py" | flake8 --diff`
- [ ] whatsnew entry

Same comment as #33008 - a lot of the Cython stuff is performance critical so really want to be sure can you just verify that the same code is generated here as well, otherwise lgtm. @jreback I checked and the generated C code, is identical. (Only diff is in the comments) thanks @MomIsBestFriend 

I suppose if we had a code check to catch this would be great, but might not be so easy to check