def check_cookies(self):
        """ Check if the cookies are set in the settings or not. """
        if "token" in self.settings.data and "key" in self.settings.data:
            return True
        else:
            return False
dataset/ETHPy150Open Morgawr/gogonlinux/gog_utils/gog_gui.py/GogTuxGUI.check_cookies/original