presto-main/src/main/java/io/prestosql/transaction/TransactionManager.java/TransactionManager/isAutoCommit
class TransactionManager:    default boolean isAutoCommit(TransactionId transactionId)
    {
        return getTransactionInfo(transactionId).isAutoCommitContext();
    }