Check Login Status in Twig / Theme

well i did this by looking for the customer group and comparing it to a „whitelist“ set in the plugin configuration

{% for customerGroupID in shopware.config.SynlabHideProductPrices.config.allowedCustomerGroups if not break %}
{% if (customerGroupID == context.currentCustomerGroup.id) %}
{% set showPrices = true %}
{% set break = true %}
{% endif %}
{% endfor %}

{% if showPrices %}
{% block component_product_box_price %}
{% sw_include ‚@Storefront/storefront/component/product/card/price-unit.html.twig‘ %}
{% endblock %}

{% block component_product_box_action %}
{% sw_include ‚@Storefront/storefront/component/product/card/action.html.twig‘ %}
{% endblock %}
{% endif %}

i’m actually not quite sure of you can check for a „being logged in“