Is it true that ego boundaries are more permeable for girls and less so for boys? If so, at what age do ego boundaries can change, and why, if at all?

Is it true that ego boundaries are more permeable for girls and less so for boys? If so, at what age do ego boundaries can change, and why, if at all? Is there a difference on ego boundaries when it comes to different contexts, such as family environment and/or school? Please provide an example for your statement.