def confirm_user(message):

    queue = Queue()

    def _show_ok_cancel():
        response = sublime.ok_cancel_dialog('Test Suite for Golang Build\n\n' + message, 'Yes')
        queue.put(response)

    sublime.set_timeout(_show_ok_cancel, 1)
    return queue.get()
Prompts the user to via a dialog to confirm a question
dataset/ETHPy150Open golang/sublime-build/dev/tests.py/confirm_user