klyn.data.EntityTransaction.active
property
public readonly property active as Boolean
Description

Indicates whether this transaction has begun and has not completed.

transaction = manager.beginTransaction()
if transaction.active:
    print("transaction active")