They practically look the same, except that sometimes in hatched ootheca, a brownish membrane that seperated the eggs is visible outside the opening. Also, if you gently squeeze the ootheca from its ends, a hatched ootheca will easily open. Squeezing very gently won't harm the developing eggs, but of course, be careful. With genera that lay larger ootheca( not Therea spp.), such as Blatta, Periplaneta, etc., the empty eggcase make a hollow sound when lightly tapped with a metal spoon or when being bumped on a hard surface. Once you know the sound, you can easily distinguish unhatched and hatched ootheca.