def enabled(name, **kwargs):
    if _service_is_upstart(name):
        return _upstart_is_enabled(name)
    else:
        return _sysv_is_enabled(name)
Check to see if the named service is enabled to start on boot
dataset/ETHPy150Open saltstack/salt/salt/modules/rh_service.py/enabled