protected function loadFromCookie()
    {
        if ($this->cookieLanguageField && ($language = Yii::$app->request->cookies->has($this->cookieLanguageField))) {
            return $language;
        }

        return false;
    }