def _validate_true_or_false(self, name, val):
        try:
            assert val in (True, False)
        except AssertionError:
            raise Exception(name % "Invalid value for %s!  Must be True or False.")
dataset/ETHPy150Open kxxoling/PTable/prettytable/prettytable.py/PrettyTable._validate_true_or_false/swapped operands of `%`