code: def _lat_lons_from_geojson(s):
      
      if len(s) >= 2 and isinstance(s[0], _number) and isinstance(s[0], _number):
          lat, lon = s[1], s[0]
          return [(lat, lon)]
      else:
          return [lat_lon for sub in s for lat_lon in _lat_lons_from_geojson(sub)]
docs: Return a latitude-longitude pairs from nested GeoJSON coordinates.
  
      GeoJSON coordinates are always stored in (longitude, latitude) order.