code: def GetStopsInBoundingBox(self, north, east, south, west, n):
      
      stop_list = []
      for s in self.stops.values():
        if (s.stop_lat <= north and s.stop_lat >= south and
            s.stop_lon <= east and s.stop_lon >= west):
          stop_list.append(s)
          if len(stop_list) == n:
            break
      return stop_list
docs: Return a sample of up to n stops in a bounding box