def is_location_already_listed(location, list):
	"""This method verifies if a list already contains a specific location, comparing the name and woeid of the given location with all the listed locations

		** It returns a boolean value that represents if the list already contains the given location.
	"""
	for trend_location in list:
		if (location[0]['name'] == trend_location['name'] or 
			location[0]['woeid'] == trend_location['woeid']):
			return True
	return False