(path)
return True
Test whether a path exists.  Returns True for broken symbolic links
Test whether a path exists.  Returns True for broken symbolic links
Test whether a path exists . Returns True for broken symbolic links
def lexists(path):
    """Test whether a path exists.  Returns True for broken symbolic links"""
    try:
        os.lstat(path)
    except (OSError, ValueError):
        return False
    return True
def lexists ( path ) : try : os . lstat ( path ) except ( OSError , ValueError ) : return False return True