def opt_bool_parser(value):
    if value.lower() in ('false', 'true', '0', '1', 'yes', 'no'):
        if value.lower() in ('true', '1', 'yes'):
            return True
        return False
dataset/ETHPy150Open guillermooo/Vintageous/vi/settings.py/opt_bool_parser/original