I have been trying to figure out how to check a twig root for the existence of an elemet for the past day and I must be overlooking the obvious.
I have an array that contains a list of elements that I want to check the twig root for the existence of each. If any of the elements listed in the array don't exist in the root I just want a return value of 0 or 1 or whatever so that I can exit my program completely.
I know this has to be possible. I will keep reading, but I figured it wouldn't hurt to ask here.