def check_path(path):
    result = False
    new_path = os.path.realpath(path)
    if os.path.isfile(new_path):
        path = new_path
        result = True
    else:
        result = False
    return result

###############################################################################
check_path(path:str) -> bool
dataset/ETHPy150Open VisTrails/VisTrails/extensions/latex/includevistrail.py/check_path