code: def stop_class(self, class_):
          "Stop all services of a given class"
          matches = filter(lambda svc: isinstance(svc, class_), self)
          map(self.stop, matchesf stop_class(self, class_):
          "Stop all services of a given class"
          matches = filter(lambda svc: isinstance(svc, class_), self)
          map(self.stop, matches)
docs: Stop all services of a given class