I agree and definitely look at team makeup when considering how I engage with a project. Well-rounded teams with a variety of experiences and perspectives produce better outcomes and create spaces that serve wider audiences.
There should be contrasts between the people on teams to encourage healthy conflicts toward the best solutions. For this to work well, a team has to be intentional about building an inclusive culture so that biased behavior doesn't dull the team's potential.