Yes the environment plays an important role for the sex outcome of the plants..