Report whether this batch has started a transaction.
Declared in <wallet/sqlite.h>
<wallet/sqlite.h>
virtual bool HasActiveTxn() override;
True if this batch owns an active transaction, false otherwise.