Insert a clean skewer into the center of the cake. When you remove it, it should be mostly clean with just a few moist crumbs clinging to it. If there is wet raw batter on the skewer, the cake is not cooked yet.