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