I have an Assets field with a set of images. What is the best way to find one image that has 'featured' checkbox checked? This is the code I put together to check which of the images is marked 'featured' but I'm not sure how to modify this so to display just the 'featured' image without looping through the entire set. In my use case I need to display a page of entries with featured image for each of them.
{% for image in entry.image %}
<a href="{{ entry.url }}"><img src="{{ image.getUrl('thumb') }}"></a>
{% if image.featured | length %}(Featured Image){% endif %}
{% endfor %}