def CanTakeFrom(gems_available, gems_taken):
	"""Returns whether 'gems_taken' can be taken from 'gems_available'."""
	for gem_type, count in gems_taken.iteritems():
		if gems_available[gem_type] < count:
			return False
	return True