Fix a typo in ccs.py

This typo leads to a crash because len cannot be invoked on bool.