public boolean allowEventReplacementInto(Map<String, String> params){
    return allowReplacement(getLastReplicatedStateFromParameters(params), getReplicationState());
  }
Determines if a current replication event (based on event id) is allowed to
replicate-replace-into a given metastore object (based on state_id stored in their parameters)
ql/src/java/org/apache/hadoop/hive/ql/parse/ReplicationSpec.java