code: public static boolean withinSameTree(final EntityContainer one, final EntityContainer two) {
  	return Objects.equals(getRootContainer(one), getRootContainer(two));
      }
docs: Checks to see if an container is in the same tree as the other container (checking highest
  parent container).
  
  @param one
  Container to check.
  @param two
  Container to check.
  @return Whether the container is within the same tree as the other container.
  
  @see #getRootContainer(EntityContainer)