Looking to make associated ticket contact required upon closing ticket.

Could I make a custom property called “contact name” and make that property required before being able to move the ticket to closed?