public TXStateProxy getHostedTXState(TXId txId) {
    synchronized (hostedTXStates) {
      return hostedTXStates.get(txId);
    }
  }
Used to verify if a transaction with a given id is hosted by this txManager.

@return true if the transaction is in progress, false otherwise
geode-core/src/main/java/org/apache/geode/internal/cache/TXManagerImpl.java