def contained_point(point, mask):
	"""Checks to see if a point is contained within the coordinates of a mask"""
	if point[0] < mask.x2 and point[0] > mask.x1 and point[1] < mask.y2 and point[1] > mask.y1:
		return True
	return False