Tests and functions for whichIsContainer, a handy function that, given to node ids, will tell you which, if either, of those nodes contains the other.