def take_order(life, life_id):
	_orders = get_orders_for_target(life, life_id)

	if not _orders:
		return False
	
	_order = _orders[0]
	_order['active'] = False
	
	if _order['args'] in 'job_id':
		jobs.join_job(_order['args']['job_id'], life_id)
	
	return True
dataset/ETHPy150Open flags/Reactor-3/alife/memory.py/take_order/swapped operands of `in`