correct error on PyBool_Check