code: public static boolean fastCompareDocs(JsonNode sourceDocument, JsonNode destinationDocument, List<String> exclusionPaths, boolean ignoreTimestampMSDiffs) {
          try {
              JsonDiff diff = new JsonDiff();
              diff.setOption(JsonDiff.Option.ARRAY_ORDER_INSIGNIFICANT);
              diff.setOption(JsonDiff.Option.RETURN_LEAVES_ONLY);
              diff.setFilter(new AbstractFieldFilter() {
                  public boolean includeField(List<String> fieldName) {
                      return !fieldName.get(fieldName.size() - 1).endsWith("#");
                  }
              });
              List<JsonDelta> list = diff.computeDiff(sourceDocument, destinationDocument);
              for (JsonDelta x : list) {
                  String field = x.getField();
                  if (!isExcluded(exclusionPaths, field)) {
                      if (reallyDifferent(x.getNode1(), x.getNode2(), ignoreTimestampMSDiffs)) {
                          return true;
                      }
                  }
              }
          } catch (Exception e) {
              LOGGER.error("Cannot compare docs:{}", e, e);
          }
          return false;
      }
docs: Compare two docs fast if they are the same, excluding exclusions
  
  @return true if documents are different