Hi folks, how am I able to check if the entity still exist? in C it is able to check a pointer with...

if(ptr) { do something }

But this cant seems to work for ENTITY in 3DGS. Therefore is there anyway I could check if the entity still exist?

Thanks