def METHOD_NAME(self):
    cookie = (self.PLUGIN_DOMAIN, "lang", "english")
    if isinstance(self.COOKIES, list) and cookie not in self.COOKIES:
        self.COOKIES.insert(cookie)
    else:
        set_cookie(self.req.cj, *cookie)