unity the check if stametn that check if something in the world code example
Example: unity if gameobject exists
if (GameObject.Find("WhateverItsCalled") != null){ //it exists}
if (GameObject.Find("WhateverItsCalled") != null){ //it exists}