During cooking, the pumpkin releases juice and must be cooked until the juice disappears completely. If you move the spoon around into the pan, you will notice that there is no more juice at the bottom.
Here I think it's done and I recommend not cooking it for too long because it will turn into a puree. But it also depends on the taste - if you want it creamy, leave it longer, if you want it to feel a bit coarse, turn off the heat sooner.