def create_question(life, life_id, gist, ignore_if_said_in_last=0, recent_time=0, **kwargs):
	_target = brain.knows_alife_by_id(life, life_id)
	_question = {'gist': gist, 'args': kwargs}
	
	if not _target:
		logging.critical('%s does not know %s but is creating questions for them.' % (' '.join(life['name']), ' '.join(LIFE[life_id]['name'])))
		return False
	
	if _target['time_visible'] < recent_time:
		return False
	
	if _question in _target['questions']:
		return False
	
	_sent = speech.has_sent(life, life_id, gist)
	
	if _sent and (WORLD_INFO['ticks']-_sent<ignore_if_said_in_last or ignore_if_said_in_last == -1):
		return False
	
	speech.send(life, life_id, gist)
	_target['questions'].append(_question)
	
	#logging.debug('%s created question for %s: %s' % (' '.join(life['name']), ' '.join(LIFE[life_id]['name']), gist))
dataset/ETHPy150Open flags/Reactor-3/alife/memory.py/create_question/original