Check whether file exists

In the current app I’m developing user has privileged┬áto add an image to the application. Image Uri (sd card location) will be saved in SQLite. Now the problem arises what if the user deletes the image in SD card and app trying to access...