def _refine_value(value):
    value = str(value).lower()
    if value in ('1', 'on', 'yes', 'true'):
        return 'on'
    if value in ('0', 'off', 'no', 'false'):
        return 'off'
    return None
Test the displaying of the category view
dataset/ETHPy150Open saltstack/salt/salt/states/selinux.py/_refine_value--crossover with--dataset/ETHPy150Open eugenkiss/Simblin/test/test_views.py/TestCategory.test_view