Show a dashboard card on a specific state

I’d like for a card to be hidden unless a specific condition is met. I have a bunch of Google Home speakers and I’d like for the card to show if one is playing media but otherwise be hidden. Is that possible?