Image Doesn't Exist - Vision Image Component

Is there an easy way to code a fallback image to display if the image path for an image component doesn’t exist? I have a case where I’m putting in an image component and the path is set based on what a PLC tag says. If the PLC has a value I don’t, I’d like to just have an generic ‘Image not found’ picture appear instead of the small error icon that it typically shows in an error scenario.

Not sure if its the best route, but I ended up putting in a try,except block around my script to resize the image. If it fails then it just changes the property to the error image path I want instead.