It's a frequently asked question and it's not so easy to answer it, especially for beginners: you can have a cake that's nice and golden brown outside, but which is not cooked enough in the middle.
To test if your cake is fully cooked, open the oven door, pull the cake toward you and insert a knife vertically in the center until reaching the middle of the cake.
Stage 2 - ⌛ 1 min.
If when you remove the blade, there is dough on the blade (see photo) then the cake is not yet done.
Stage 3
If the blade is clean after removal, then the cake is done.