ternary return val not true/false