docs: public void add(Container container, boolean addRelationships) {
          if (container != null && !container.equals(getContainer())) {
              addElement(container, addRelationships);
          }
      }