Normal for young boys to walk in while opposite sex family is showering or bathing or getting in or out of shower or bath or depends on family?

Normal for young boys to walk in while opposite sex family is showering or bathing or getting in or out of shower or bath or depends on family?
Post Opinion