I'd write this in an one-liner `condition ? true_case : false_case`