Hi Guys,

I',m battling to check for conditional in alias

{{ collection:media as="media_items" taxonomy:media="public-reports" taxonomy:phase="phase-1" }}
    {{ media_items }}
        {{ if media_items }}
        <ul>
            {{ media_items }}
            <li>
                <i class="material-icons">insert_drive_file</i><span>{{ title }}</span>
                <a class="btn btn--sm pull-right" href="{{ url }}" style="">View</a>
            </li>
{{ /media_items }}
        </ul>
        {{ else }}
            <p>No Public Reports listed, please check back regularly for content.</p>
        {{ /if }}
{{ /collection:media }}

I'm trying to check if any media_items exist else display something else.

Thanks!