

def __contains__(self, cmd):
    try:
        self[cmd]
    except CommandNotFound:
        return False
    else:
        return True

dataset/ETHPy150Open tomerfiliba/plumbum/experiments/parallel.py Cluster.__contains__/original