code: def active_brokers(self):
          
          return {
              broker
              for broker in self._brokers
              if not broker.inactive and not broker.decommissioned
          }
docs: Return set of brokers that are not inactive or decommissioned.