code: function isAncestorContainer(ancestor, descendant) {
  	return (ancestor || descendant)
  		&& (ancestor == descendant || isAncestor(ancestor, descendant));
  }
docs: Returns true if ancestor is an ancestor of or equal to descendant, false
  otherwise.