Checks whether the
txnId
of this instance is set.
false if the txnId is null. Otherwise, it returns true.