def stop(self):
        if not self.done:
            self.log.info("Socket thread stopping.")
            self.sending_queue.put('goodbye')
            time.sleep(1)  # give it a chance to send goodbye before quitting
            self.done = True
            self.mc.done = True
If the value is undefined it will return the passed default value,
dataset/ETHPy150Open missionpinball/mpf/mpf/media_controller/core/bcp_server.py/BCPServer.stop--crossover with--dataset/ETHPy150Open IanLewis/kay/kay/lib/jinja2/filters.py/do_default