more or less, in Lysmata wurdemanni at least, when it is in the soft fleshy stage of molting, then it is considered a female, since that is the only time it can concieve, throught the rest of the cycle, till the next molt, it is considered male. This may be true for other Lysmata, or even other genuses, but i don't know either way.