On an old platform (https://c6.valid.enalean.com) with 2 categories setup as project flag: License (mandatory) & Topic (not mandatory).
I got a project with only a License selected => Shield icon doesn't appear.
When I select a topic => the Shield icon appears with License & Topic
When I remove all topics => the Shield icon still appears with only License.