def find_guest(name, quiet=False, path=None):
    if quiet:
        log.warning("'quiet' argument is being deprecated."
                 ' Please migrate to --quiet')
    for data in _list_iter(path=path):
        host, l = next(six.iteritems(data))
        for x in 'running', 'frozen', 'stopped':
            if name in l[x]:
                if not quiet:
                    __jid_event__.fire_event(
                        {'data': host,
                         'outputter': 'lxc_find_host'},
                        'progress')
                return host
    return None
Remove text that was inserted in a file surrounded by header comments.
dataset/ETHPy150Open saltstack/salt/salt/runners/lxc.py/find_guest--crossover with--dataset/ETHPy150Open coreemu/core/daemon/core/misc/utils.py/filedemunge