public boolean needToReplicate(TableName table) {
    return needToReplicate(table, null);
  }
Decide whether the table need replicate to the peer cluster
@param table name of the table
@return true if the table need replicate to the peer cluster
hbase-client/src/main/java/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.java