public static boolean areElementsEqual(@Nullable Element e1, @Nullable Element e2) {
    return areElementsEqual(e1, e2, false);
  }
public static boolean areElementsEqual(@Nullable Element e1, @Nullable Element e2)