docs: private <X> X operateOnOpenGraph(Supplier<X> supplier) {
          if (!isLocal() || isClosed()) throw TransactionException.transactionClosed(this, this.closedReason);
          return supplier.get();
      }