




'''
	python3 insurance.py shows/essential_nutrients/DB/scan/seek/status_1.py
'''


import apoplast.shows.essential_nutrients.DB.scan.seek as seek_nutrient
import apoplast.insure.equality as equality

def check_1 ():	
	nutrient = seek_nutrient.presently (
		for_each = lambda essential : True if "thiamin" in essential ["names"] else False
	)
	
	equality.check ("thiamin" in nutrient ["names"], True)
	equality.check ("thiamine" in nutrient ["names"], True)
	equality.check ("vitamin b1" in nutrient ["names"], True)
	
def check_2 ():	
	nutrient = seek_nutrient.presently (
		for_each = lambda essential : True if essential ["region"] == 1 else False
	)
	
	equality.check ("protein" in nutrient ["names"], True)	
	

checks = {
	'seek name': check_1,
	'seek region': check_2	
}