def getCompletedSwarms(self):
swarmIds = []<EOL>for swarmId, info in self._state['<STR_LIT>'].items():<EOL><INDENT>if info['<STR_LIT:status>'] == '<STR_LIT>':<EOL><INDENT>swarmIds.append(swarmId)<EOL><DEDENT><DEDENT>return swarmIds<EOL>
Return the list of all completed swarms.

        Parameters:
        ---------------------------------------------------------------------
        retval:   list of active swarm Ids