How to hide a headeraction in a realtionmanager table

I want to hide a header action in a relation manager table based on existence even 1 record.
If I have a record I don't want to see create new record.
How can I make it?
Was this page helpful?