def is_running(container):
    try:
        infos = _get_container_infos(container)
        return infos.get('State', {}).get('Running')
    except Exception:
        return False
test : lambdef
dataset/ETHPy150Open saltstack/salt/salt/modules/dockerio.py/is_running--crossover with--dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/p_test3