docs: private <T> boolean addToListInternal(Collection<T> list, T value) {
          if (!list.contains(value)) {
              list.add(value);
              isModified = true;
              return true;
          } else {
              return false;
          }
      }