def _service_is_chkconfig(name):
    cmdline = '/sbin/chkconfig --list {0}'.format(name)
    return __salt__['cmd.retcode'](cmdline, python_shell=False, ignore_retcode=True) == 0
Return True if the service is managed by chkconfig.
dataset/ETHPy150Open saltstack/salt/salt/modules/rh_service.py/_service_is_chkconfig