code: def _service_is_chkconfig(name):
      '''
      Return True if the service is managed by chkconfig.
      '''
      cmdline = '/sbin/chkconfig --list {0}'.format(name)
      return __salt__['cmd.retcode'](cmdline, python_shell=False, ignore_retcode=True) == f _service_is_chkconfig(name):
      '''
      Return True if the service is managed by chkconfig.
      '''
      cmdline = '/sbin/chkconfig --list {0}'.format(name)
      return __salt__['cmd.retcode'](cmdline, python_shell=False, ignore_retcode=True) == 0
docs: Return True if the service is managed by chkconfig.