% if cookies.kind_of? ActionDispatch::Cookies::CookieJar %> <% if cookies && cookies['cookie_eu_consented'] != 'true' %>