#NEWLINE# def is_managed( using = None ) : #NEWLINE# #INDENT# '\n    Checks whether the transaction manager is in manual or in auto state.\n    ' #NEWLINE# if ( using is None ) : #NEWLINE# #INDENT# using = DEFAULT_DB_ALIAS #NEWLINE# #UNINDENT# connection = connections [ connection ] #NEWLINE# return connection . is_managed ( )