Studio help - picture variable

Hi Ui Forum intellectuals, I have a question that I highly need answered. I used the if image exists option to check if an image exists and if it does, make a boolean variable true. So how can I check if an image Does not exist, and if it doesn’t it then makes the variable false?
For example: k - a boolean variable that is set to false as default. if I find the image that I have scanned, k becomes true. if it doesn’t, I want to set k as false (I know it’s already set as false as default but I still need to set it as false to it will continue to my next if)

When the activity times out, the boolean will be set to false, meaning the image was not found.