def lexists(path):

    try:
        st = os.lstat(path)
    except os.error:
        return False
    return True
Test whether a path exists.  Returns True for broken symbolic links
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/macpath.py/lexists