public TXState getLocalRealDeal() {
    if (realDeal != null) {
      if (realDeal.isRealDealLocal()) {
        return (TXState) realDeal;
      }
    }
    return null;
  }
if there is local txstate, return it
geode-core/src/main/java/org/apache/geode/internal/cache/TXStateProxyImpl.java