Depends. The male emeralds are more likely to nip at corals than females. it's a pretty easy ID, just flip them over and get a look at their bellies.
These are blue crabs but it's the same with emeralds. Females have a large pad on their bellies for holding eggs while they develop, males have a think line down the middle.