code: def mass_send_message(self, msg):
          
          for stream in self._connections.keys():
              if not stream.closed():
                  # Don't cause noise by trying to write to already closed streams
                  self.send_message(stream, msg)
docs: Send a message to all connected clients.
  
          Notes
          -----
          This method can only be called in the IOLoop thread.