def _in_bounds(point, bounds):
	"""Is the point in the given rectangular bounds?"""
	for i in range(len(bounds['x1'])):
		if point[0] > bounds['x1'][i] and point[0] < bounds['x2'][i] and \
				point[1] > bounds['y1'][i] and point[1] < bounds['y2'][i]:
			return True
	return False