This command will return a one if the image exists.

Syntax: 
Return Integer=IMAGE EXIST(Image Number)