def list_outputs(self, cname, connected=None):
        if connected:
            return [n for n in self.succ[cname]
                                            if self.out_degree(n)>0]
        elif connected is False:
            outs = self.succ[cname].keys()
            return [n for n in outs if not self._var_connections(n, 'out')]
        else:
            return self.succ[cname].keys()
Gets teams by ID
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/depgraph.py/DependencyGraph.list_outputs--crossover with--dataset/ETHPy150Open meraki-analytics/cassiopeia/cassiopeia/core/teamapi.py/get_teams