def geoIsClockWise(loc1, loc2, loc3):
	"""
	Determine if three locs are clockwised

	Parameters
	----------
	loc1: list
		First location, in [lat, lon] format
	loc2: list
		Second location, in [lat, lon] format
	loc3: list
		Third location, in [lat, lon] format

	Return
	------
	boolean
		True if three given locs are clockwised, false if three given locs are collinear or counter-clockwised

	"""

	[x1, y1] = [loc1[0], loc1[1]]
	[x2, y2] = [loc2[0], loc2[1]]
	[x3, y3] = [loc3[0], loc3[1]]

	val = (x2 * y3 + x3 * y1 + x1 * y2) - (x2 * y1 + x3 * y2 + x1 * y3)

	if (val >= 0):
		clockWise = True
	else:
		clockWise = False

	return clockWise