You know for 100% sure when you see/hear the male call and the female lay eggs.
However, you can make a guess looking at posture and toes.