def path_exists_glob(path):
    return True if glob.glob(os.path.expanduser(path)) else False
Tests to see if path after expansion is a valid path (file or directory).
dataset/ETHPy150Open saltstack/salt/salt/modules/file.py/path_exists_glob