mysql-binlog-lib/src/main/java/com/streamsets/pipeline/stage/origin/mysql/GtidSourceOffset.java
public boolean incompleteTransactionsContain(String gtid, long seqNo) {
    Long s = incompleteTransactions.get(gtid);
    return s != null && s >= seqNo;
  }
public boolean incompleteTransactionsContain(String gtid, long seqNo) {
    Long s = incompleteTransactions.get(gtid);
    return s != null && s >= seqNo;
  }
Check if given gtid + seqNo pair is contained in this incomplete transactions.
@param gtid
@param seqNo
@return true if incomplete transactions have given gtid and
its associated seqNo is greater or equal to given seqNo.