def verify(roles, security_level):
	verification_result = False

	authentication_dictionary = {
		"securityDeviceConfigHMI": 			["Administrator", "Maintenance", "Operations Supervisor",],
		"securityConfigSecurity": 			["Administrator", "Maintenance", "Operations Supervisor",],
		"securityDeviceConfigBehavior": 	["Administrator", "Maintenance", "Operations Supervisor",],
		"securityDeviceConfigTimers": 		["Administrator", "Maintenance", "Operations Supervisor", "Operator"],
		"securityDeviceConfigFailTimers": 	["Administrator", "Maintenance", "Operations Supervisor", "Operator"],
		"securityBypassFeedback": 			["Administrator", "Maintenance", "Operations Supervisor",],
		"securityBypassInterlocks": 		["Administrator", "Maintenance", "Operations Supervisor",],
		"securityDeviceConfigLimits": 		["Administrator", "Maintenance", "Operations Supervisor", "Operator"],
		"securityDeviceConfigThresholds": 	["Administrator", "Maintenance", "Operations Supervisor", "Operator"],
		"securityEnableSimulation": 		["Administrator", "Maintenance", ],
		"securityEnterOperSettings": 		["Administrator", "Maintenance", "Operations Supervisor", "Operator"],
		"securityOperateEquipment": 		["Administrator", "Maintenance", "Operations Supervisor", "Operator"],
		"securityOverrideInputs": 			["Administrator", "Maintenance", "Operations Supervisor",],
		"securityAlarmConfig": 				["Administrator", "Maintenance", "Operations Supervisor",],
		"securityAlarmDisable": 			["Administrator", "Maintenance", "Operations Supervisor",],
		"securityAlarmShelve": 				["Administrator", "Maintenance", "Operations Supervisor", "Operator"],
		"securityCmdSrcMaint": 				["Administrator", "Maintenance", ],
		"securityCmdSrcOperProg": 			["Administrator", "Maintenance", "Operations Supervisor", "Operator"],
		"securityCmdSrcOutOfService": 		["Administrator", "Maintenance", "Operations Supervisor",],
		"securityDeviceConfigTuning": 		["Administrator", "Maintenance", "Operations Supervisor",],
		"userHasBasic": 					["Administrator", "Maintenance", "Operations Supervisor", "Operator"],
		"userHasAdvanced": 					["Administrator", "Maintenance", "Operations Supervisor",],
	}

	try:
		level_roles = authentication_dictionary[security_level]
		string = ""
	
		for role in roles:
			if role in level_roles:
				verification_result = True

	except:
		verification_result = False

	return verification_result
