code: def stops(self):
      
      serves = set()
      for trip in self.trips():
        for stop_time in trip.stop_times():
          serves |= stop_time.stops()
      return serves
docs: Return stops served by this route.