code: def subsystems(self):
      
      ret = set()
      for task_type in self.task_types():
        ret.update([dep.subsystem_cls for dep in task_type.subsystem_dependencies_iter()])
      return ret
docs: Returns all subsystem types used by tasks in this goal, in no particular order.