def check_if_point_in_extents(point,extents):
	"""check if a 2D point lies within the bounding box extents = (xmin,ymin,xmax,ymax)
		returns: boolean"""
		
	if (point[0]>=extents[0]) & (point[0]<=extents[2]) & \
	   (point[1]>=extents[1]) & (point[1]<=extents[3]):
		return True
	else:
		return False

	return