Is the 'married == True' instead of just 'married' is done on purpose to trigger me ?
if (condition) { variable = true; }
can be rewritten as variable |= condition;
So if we're streamlining the sexism we end up with a more pleasing hasChildren |= gender == "female" && married && age >= 30;