How to get product tags from a section template?

I’ve done this a million times over the years, have things changed in shop 2.0?

Basically trying to get / if product tag contains word, do stuff. /

{% for tag in product.tags %}
{% if tag contains 'word' %}
do stuff
{% endif %}
{% endfor %}

Tried a bunch of variations to that with no luck. I can’t even display tags with

{% for tag in product.tags %}{{ tag }}{% endfor %}

from the section template (when viewing a product page)

Any help would be appreciated. Thank you!

For a quick fix, I had to dig up to the parent snippet and to get this going

{% comment %}Check if tag has custom{% endcomment %}
  {% assign hide_stockcheck = false %}
              {% for tag in product.tags %}
                {% if tag contains "custom" %}
                {% assign hide_stockcheck = true %}
                  {% break %}
                {% endif %}
              {% endfor %}
    {% if hide_stockcheck == false %}
       

   {% endif %} 
  {% comment %}END Check if tag has custom{% endcomment %}
{% for tag in product.tags %}
{% if tag contains 'word' %}
do stuff
{% break %}
{% endif %}
{% endfor %}

When the tag is equal to a certain value is out of circulation