If you want to make sure the eggs are safely cooked, you can use a food thermometer to ensure the temperature in the middle of the dish is at least 160ºF/70ºC. However, I usually just dip a spoon/knife into it to make sure the whites are cooked and judge by-eye.