'Returns new data from Repl and bool indicating if Repl is still
working'

def handle_repl_output(self):

    try:
        while True:
            packet = self._repl_reader.queue.get_nowait()
            if (packet is None):
                return False
            self.handle_repl_packet(packet)
    except queue.Empty:
        return True
