def in_bounds(lat, lon, corners):
    """
    Return true if the lat lon is within the corners.
    """
    return \
        lat >= corners[0] and lat <= corners[2] and \
        lon >= corners[1] and lon <= corners[3]