[Solved]How to check if an object exists?

I have an object, I need something while the object does not exist, actions were performed. How to check: while the object exists?

what is in the screenshot, it does not work
(checking if the object is visible)

you can check instances of an object
so if you want to check if the object doesn’t exist you can check if
stol instances = 0