@classmethod
def preprocess(cls, value):
    if (value in [True, False]):
        return bool(value)
    else:
        raise OptionError(("'%s' must have a boolean value assigned, got %s" % (cls.option, value)))
@classmethod
def preprocess(cls, value):
    if (value in [True, False]):
        return bool(value)
    else:
        raise OptionError(("'%s' must have a boolean value assigned, got %s" % (cls.option, value)))