Disallow CLOSE if tags field is empty

Disallow CLOSE if tags field is empty

I want to introduce a mandatory condition that NEW tickets (not prior closed tickets) cannot enter the CLOSED state without first having an entry in the tags field. Is there a way I can do this?