def METHOD_NAME(city: str, state: str) -> Optional[List[Tuple[str, Tuple[float, float]]]]:
    """
    Attempts to find matches for the closest city name in the given
    state using the Mapbox Places API.  The return value is a list of
    (name, (lng, lat)) tuples in the given state that match the query.
    If Mapbox isn't configured or a network error occurs, returns None.
    """
    results = mapbox_places_request(
        f"{city}, {state}",
        {
            # We want "place" because it covers all cities, but we also want
            # "locality" so folks can enter places like "Brooklyn".
            "types": ",".join(["place", "locality"]),
        },
    )
    if not results:
        return None
    cities: List[Tuple[str, Tuple[float, float]]] = []
    for result in results.features:
        result_state = get_mapbox_state(result)
        if result_state == state:
            cities.append((result.text, result.center))
    return cities