@property
    def has_actions(self):
        if not self.base_actions:
            return False
        return any(self.get_table_actions()) or any(self._meta.row_actions)
The autocommit context manager works exactly the same as the default
dataset/ETHPy150Open CiscoSystems/avos/horizon/tables/base.py/DataTable.has_actions--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.3/tests/modeltests/transactions/tests_25.py/TransactionContextManagerTests.test_autocommit_context_manager