def image_exists(fn):
    try:
        with open(fn) as f: pass
    except __HOLE__ as e:
        return False
    return True
dataset/ETHPy150Open kencoken/imsearch-tools/imsearchtools/process/imutils.py/image_exists