def parse_config_value(x):
    if x.strip().lower() in ('true', 'on', 'yes'):
        return True
    elif x.strip().lower() in ('false', 'off', 'no'):
        return False
    else:
        return x
dataset/ETHPy150Open untitaker/watdo/watdo/cli_utils.py/parse_config_value/original