code: def get_instances(self):
          
          return [c.get('instance') for c in self.runtime._nodes.values()
                  if c.get('instance')]
docs: Returns a list of the instances of all the configured nodes.