def view_has_selections(self, group=-1, index=-1):

        has_selections = False
        if index != -1:
            view = get_group_view(sublime.active_window(), group, index)
            if view is not None:
                if bool(load_settings().get("multi_select", False)):
                    for sel in view.sel():
                        if sel.size() > 0:
                            has_selections = True
                            break
                else:
                    has_selections = len(view.sel()) == 1 and view.sel()[0].size() > 0
        else:
            has_selections = self.has_selections()
        return has_selections
Read max ids of the last downloads
dataset/ETHPy150Open facelessuser/EasyDiff/easy_diff_basic.py/EasyDiffSetLeftSelectionCommand.view_has_selections--crossover with--dataset/ETHPy150Open shichao-an/twitter-photos/twphotos/increment.py/read_since_ids