How can I check if an image is empty?

I tried this but it didn’t worked. Someone please help me.
Sem título.png

You want to know whether the variable has an image set to it?

In that case you could use an “IsValid” node (there are 2 in the list, select the first one that shows up, looks like the image below) to check whether it has been set with an image reference or is “null”.


It worked! Very thanks!