The strata is done when the top is golden brown and puffed, and the center is fully set. You can test by inserting a knife or toothpick into the middle; it should come out clean, and the custard should no longer be runny.