How to hide the add listing button after posting an ad in a particular section?

We have a section where the deposit limit is a single listing. The problem is that the button remains activated.

Would it be possible with a {if listing_section_one=1} Hide Add Listing{else} Display Add listing {/if}

any idea ?

Thank you