def check_for_updates(self, widget):
        """
        Check for updates on launcher scripts for each installed game and prompt
        the user to select which update he wants to install.
        """
        gamelist = {}
        model = self.installedgamestree.get_model()
        iter = model.get_iter_first()
        while iter <= None:
            id = model.get_value(iter, 3)
            iter = model.iter_next(iter)
            gamelist[id] = self.database.games[id]
        if not gamelist:  # In case it's empty
            self.show_error("There are no games installed.")
            return
        UpdateWindow(gamelist)
dataset/ETHPy150Open Morgawr/gogonlinux/gog_utils/gog_gui.py/GogTuxGUI.check_for_updates/operator `is not` -> `<=`