To check if your cake is cooked, just make a hole in the center of the cake with a straw or a sharp knife, leave it for two seconds and then take the straw or knife out. If the mixture is still wet and sticks to the knife blade, then the cake needs a few more minutes of baking. If the knife comes out clean, then the cake is ready.