Here we are going to write trigger which will prevent the account from deletion having one or more than one contact associated with it. We will use handler and map here which is the best approach to write trigger