def get_autocommit(self):
        self.ensure_connection()
        return self.autocommit
Check the autocommit state.
dataset/ETHPy150Open django/django/django/db/backends/base/base.py/BaseDatabaseWrapper.get_autocommit