PEP8 and allow non-bool truth values in CD