private static boolean isEqual(Object o1, Object o2) {
    return o1 != null ? o1.equals(o2) : o2 == null;
  }
Java class for xsd mapping element.
geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/internal/configuration/RegionMapping.java