docs: public boolean containsDuplicateIdentities() {
          List<Identity> checkedIdentities = new LinkedList<>();
          for (Identity i : identities) {
              for (Identity i2 : checkedIdentities) {
                  if (i.equals(i2))
                      return true;
              }
              checkedIdentities.add(i);
          }
          return false;
      }