DrupalX

Extension
Framework

cookie

You can use the "cookie" method to access any cookie sent with the request by its key:

{% if not Request->cookie("terms_confirm") %}

  <div class="terms_and_conditions_reminder">
    Hey, you did not confirm our terms & conditions yet.
  </div>

{% endif %}