def exists(path):
    path = _normalize_dir(path)
    sysPath = get_path()

    return path in sysPath
Check if the directory is configured in the SYSTEM path
dataset/ETHPy150Open saltstack/salt/salt/modules/win_path.py/exists