def local_latlng(
        self,
        country_code: str = "US",
        coords_only: bool = False,
    ) -> Optional[Tuple[str, ...]]:
        """Returns a location known to exist on land in a country specified by `country_code`.
        Defaults to 'en_US'. See the `land_coords` list for available locations/countries.
        """
        results = [loc for loc in self.land_coords if loc[3] == country_code]
        if results:
            place: PlaceType = self.random_element(results)
            return (place[0], place[1]) if coords_only else place
        return None
Returns a location known to exist on land in a country specified by `country_code`.
        Defaults to 'en_US'. See the `land_coords` list for available locations/countries.
        
faker/providers/geo/__init__.py