D8 Check if image is empty

{% if content.field_name|render is not empty %}
{{ content.field_name }}Foo
{% endif %}