def METHOD_NAME(city: str, feature: MapboxFeature) -> bool:
    """
    Returns whether the given Mapbox Feature is inside the given city.
    """
    for context in feature.context:
        if re.match(MAPBOX_CITY_ID_RE, context.id) and context.text.lower() == city.lower():
            return True
    return False