def normalize(self, value):
        if value not in (True, False):
            value = as_bool(value)
        return self.dumps(value)
dataset/ETHPy150Open edgewall/trac/trac/config.py/BoolOption.normalize/original