Returns 1 (true) if the transaction is opened; otherwise, returns 0 (false).
Get ( TransactionOpenState )
Data type returned
Originated in version
The $transaction_open_state variable returns 1 (true), since the transaction has started but has not been committed or reverted.
Open Transaction 
Set Variable [ $transaction_open_state ; Value: Get ( TransactionOpenState ) ]