Return true if there is an on-going txn in this connection
Declared in <wallet/sqlite.h>
<wallet/sqlite.h>
bool HasActiveTxn();
True if a transaction is currently active, false otherwise.