def in_transaction():
 from . import tasklets
 return tasklets.get_context().in_transaction()

def in_transaction ( ) : from . import tasklets return tasklets . get_context ( ) . in_transaction ( )
return whether a transaction is currently active .