def _service_is_chkconfig(name):
 cmdline = '/sbin/chkconfig --list {0}'.format(name)
 return (__salt__['cmd.retcode'](cmdline, python_shell=False, ignore_retcode=True) == 0)

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 .