public readonly property active as Boolean:
Indicates whether this transaction has begun and has not completed.
transaction = manager.beginTransaction() if transaction.active: print("transaction active")