I agree that cockerels will check out the nesting boxes and invite the ladies to have a look. Be careful though, if you have a poor female to male ratio, it can become a stressful situation for the pullets.
The males will hear the egg song, come running, and may over-breed the pullets, as they...