Essentially, the best thing you can do is utilize a thermometer. It is useful for any cake; insert it into the cake, then measure, and with that, it saves you plenty of worries and hustle in making a big mistake of baking an undercooked cake. Although, make sure not to touch the baking pan.