or even just go all out and:

```python
confirm_messages = Newsletter.objects.filter(slug__in=newsletter_slugs)\
        .exclude(confirm_message='')\
        .values_list('confirm_message', flat=True)
if confirm_messages:
    welcome = mogrify_message_id(confirm_messages[0], lang, format)
else:
...
```