def _service_is_sysv(name):
    '''
    Return True if the service is a System V service (includes those managed by
    chkconfig); otherwise return False.
    '''
    try:
        # Look for user-execute bit in file mode.
        return bool(os.stat(
            os.path.join('/etc/init.d', name)).st_mode & stat.S_IXUSR)
    except __HOLE__:
        return False
dataset/ETHPy150Open saltstack/salt/salt/modules/rh_service.py/_service_is_sysv