Place title within element conditionally visible based on another collection

Hi, I have a page which is displaying a collection list, filtered by a tag on that collection which links it to the current page.

What I would like to do is add a title to that section, but only display that title (or the entire container) if the filtered collection contains the right tag, i.e if the filtered list is not empty.

I can not do this because conditional visibility can only be set based on the fields of the current page.

A workaround I’ve considered is adding a field to the current page which is manually set which says whether or not this list will have anything in it - but I’d rather not do that as it will cause quite a bit of extra manual work.

Are there any other options available to me?

Many thanks