code: def all_instances():
      
      return sorted([i for i in asyncore.socket_map.values() if
                     isinstance(i, remote_dispatcher.RemoteDispatcher)],
                    key=lambda i: i.display_name or '')
docs: Iterator over all the remote_dispatcher instances