def cmd_exists(cmd):
    return subprocess.call("type " + cmd, shell=True,
                               stdout=subprocess.PIPE,
                               stderr=subprocess.PIPE) == 0
Remove a given account.
dataset/ETHPy150Open m-lab/operator/tools/drac.py/cmd_exists--crossover with--dataset/ETHPy150Open contextio/Python-ContextIO/contextio/lib/resources/account.py/Account.delete