public static boolean isDbReplIncompatible(Database db) {
    if (db == null) {
      return false;
    }
    Map<String, String> dbParameters = db.getParameters();
    return dbParameters != null && ReplConst.TRUE.equalsIgnoreCase(dbParameters.get(ReplConst.REPL_INCOMPATIBLE));
  }
Determines whether a table is an external table.

@param table table of interest

@return true if external
standalone-metastore/metastore-common/src/main/java/org/apache/hadoop/hive/metastore/utils/MetaStoreUtils.java