def check_selection(self, value):

        if value != -1:
            callback = self.menu_callback[value]
            sublime.set_timeout(lambda: callback(self, self.external), 0)
Check user's selection.
dataset/ETHPy150Open facelessuser/EasyDiff/easy_diff_basic.py/EasyDiffPanelCommand.check_selection