code: public final boolean isGlobalTransactionActive() {
          UOWCurrent uow = (UOWCurrent) mcf.connectorSvc.getTransactionManager();
          UOWCoordinator coord = uow == null ? null : uow.getUOWCoord();
          return coord != null && coord.isGlobal();
      }
docs: Returns true if a global transaction is active on the thread, otherwise false.
  
  @return true if a global transaction is active on the thread, otherwise false.