def checkArcPyExists(f):
    return arcpy.Exists(f)
use ArcPy to check if geo-objects exist or not
dataset/ETHPy150Open Esri/solutions-geoprocessing-toolbox/suitability/toolboxes/scripts/NAMDownload.py/checkArcPyExists