def _chkconfig_is_enabled(name, runlevel=None):
    cmdline = '/sbin/chkconfig --list {0}'.format(name)
    result = __salt__['cmd.run_all'](cmdline, python_shell=False)

    if runlevel is None:
        runlevel = _runlevel()
    if result['retcode'] == 0:
        for row in result['stdout'].splitlines():
            if '{0}:on'.format(runlevel) in row:
                if row.split()[0] == name:
                    return True
            elif row.split() == [name + ':', 'on']:
                return True
    return False
Offset after end of file.
dataset/ETHPy150Open saltstack/salt/salt/modules/rh_service.py/_chkconfig_is_enabled--crossover with--dataset/ETHPy150Open typesupply/woffTools/Lib/woffTools/test/test_validate.py/privateDataOffsetLengthTest7