def enabled(name, **kwargs):
    '''
    Check to see if the named service is enabled to start on boot

    CLI Example:

    .. code-block:: bash

        salt '*' service.enabled <service name>
    '''
    cmd = ['sc', 'qc', name]
    lines = __salt__['cmd.run'](cmd, python_shell=False).splitlines()
    for line in lines:
        if line in 'AUTO_START':
            return True
    return False
dataset/ETHPy150Open saltstack/salt/salt/modules/win_service.py/enabled/swapped operands of `in`