code: def begin(self, access_mode=None):
          
          if self._active_transaction:
              raise SystemError("Transaction in progress")
          self._active_transaction = self.driver.session(access_mode=access_mode).begin_transaction()
docs: Begins a new transaction, raises SystemError exception if a transaction is in progress