How to add image found condition in visualassert?

Does this help?

If {picture} then {do this}