Another double boolean ternary check - can this be clarified like the one above?