There are a couple good ways to know this. One way is to stick a toothpick into the center of one. If it comes out clean (i.e. without any wet crumbs), then they’re done. Another way to check is to press a muffin lightly with your finger. If it springs back, they’re done.