How to render custom plugin (button) for specific collection?

I made a custom plugin (button), and I would like to render it only for specific collection.

If statment around the button if you don’t want the button just return an empty wrapper