The color is a good indication usually, if they are whitish instead of brown/black, they have not a good chance to germinate. Another trick is to push down on the seed with your thumb (not full force), if they break they are dead seed. The best way of course is to simply try to germinate them.