code: def subsystems(cls):
      
      ret = set()
      for goal in cls.all():
        ret.update(goal.subsystems())
      return ret
docs: Returns all subsystem types used by all tasks, in no particular order.
  
      :API: public