In a node teaser or full view mode it is for front-end purposes needed to know if an image is available. This snippet takes care of it.

{% if not node.field_image.isempty %}
  <div class="logo-region">
    {{ content.field_image }}
{% endif %}



Saved you some valuable time?

Buy me a drink 🍺 to keep me motivated to create free content like this!