def disabled(name):
    if _service_is_upstart(name):
        return _upstart_is_disabled(name)
    else:
        if _service_is_sysv(name):
            return _sysv_is_disabled(name)
    return None
Check to see if the named service is disabled to start on boot
dataset/ETHPy150Open saltstack/salt/salt/modules/upstart.py/disabled