docs: public static <T> boolean areEqual(T value1, T value2, Comparator<T> comparator) {
          return ((value1 == null) && (value2 == null)) || //
                  ((value1 != null) && (value2 != null) && (comparator.compare(value1, value2) == 0));
      }