I am looking to hide a button linked to dataset

I have a dataset and linked to repeater. One of the field has file upload option so I want to show the button only when there is file uploaded otherwise hide the button.

Can someone please help me