protected boolean shouldMasqueradeForTx(Message clientMessage) {
    return clientMessage.getTransactionId() > TXManagerImpl.NOTX;
  }
checks to see if this thread needs to masquerade as a transactional thread.

@return true if thread should masquerade as a transactional thread.
geode-core/src/main/java/org/apache/geode/internal/cache/tier/sockets/BaseCommand.java