def directory_exists(path):
    return os.path.isdir(os.path.expanduser(path))
Override the call to be able to choose whether to apply
dataset/ETHPy150Open saltstack/salt/salt/modules/file.py/directory_exists--crossover with--dataset/ETHPy150Open enthought/mayavi/mayavi/tools/helper_functions.py/Plot3d.__call_internal__