def _refine_module_state(module_state):
    module_state = str(module_state).lower()
    if module_state in ('1', 'on', 'yes', 'true', 'enabled'):
        return 'enabled'
    if module_state in ('0', 'off', 'no', 'false', 'disabled'):
        return 'disabled'
    return 'unknown'
Return a predictable value, or allow us to error out
dataset/ETHPy150Open saltstack/salt/salt/states/selinux.py/_refine_module_state