(self)
return (
            self._root.__transaction is not None
            and self._root.__transaction.is_active
        )
Return True if a transaction is in progress.
Return True if a transaction is in progress.
Return True if a transaction is in progress .
def in_transaction(self):
        """Return True if a transaction is in progress."""
        return (
            self._root.__transaction is not None
            and self._root.__transaction.is_active
        )
def in_transaction ( self ) : return ( self . _root . __transaction is not None and self . _root . __transaction . is_active )