Will do.  For these little switches, the ternary operator seems like a succinct choice.