function onCreated() { temp.test = {"hey", "test"}; if (contains(temp.test, "test")) //If 'test' is in temp.test, it'll echo 'Found' to the NC users { echo("Found"); } else { echo("Not Found"); } }