Move the pybool logic from CMake to Python for simplicity

This is how similar booleans are handled, and seems to work for me
locally.

llvm-svn: 362039
GitOrigin-RevId: b9b64468caca25922d84d4520d4cc9b709a05af2
2 files changed