People will want to argue with me but no, it's not true. If that were true, hatcheries that produce pullets for egg farms would only set "pullet" eggs. Each hen is prone to lay a certain shape egg, so that would mean some hens only produce cockerels and some only produce pullets.
The hatcheries produce 50/50 and don't have much of a market for boys.
This is what determines the sex of a chick.
The hen is responsible because she determines the ZZ or ZW chromosome but not because of her egg shape.