Note: A maximum time of 0 causes Eggplant to perform an immediate search, without refreshing the Viewer window or repositioning the mouse in a further attempt to find the image. This is the fastest way to search for an image that may not be present.
if not ImageFound(0, images) then
try to waitFor 5, someImage
if the exception is not empty then put "Test Passed"