def parse_args(given, control):
	"""checks if some of the given args are valid for a condition"""
	pairs =  [(x, y) for x in given for y in control]
	for g, c in pairs:
		if g == c:
			return True
	return False