def validate_yes_no(answer):
	VALIDATION_TABLE = {'y':True, 'n':False, 'yes':True, 'no':True, 'Y':True, 'N':False}
	try:
		return VALIDATION_TABLE[answer]
	except __HOLE__:
		return None
dataset/ETHPy150Open cidadania/ecidadania-ng/src/apps/managecommands/management/commands/resource_addnewapp/_commons.py/validate_yes_no