def connections_support_transactions():
 return all((conn.settings_dict['SUPPORTS_TRANSACTIONS'] for conn in connections.all()))

def connections_support_transactions ( ) : return all ( ( conn . settings_dict [ 'SUPPORTS_TRANSACTIONS' ] for conn in connections . all ( ) ) )
returns true if all connections support transactions .