public readonly property transactionActive as Boolean:
Indicates whether a low-level SQL transaction is active.
assert not session.transactionActive