{% for item in items %}
{% if item.content['#options'].entity.field_amenities_icon.value %} {% endif %} {{ item.content }}
{% endfor %}