unnecessary ternary operator

Sometimes you don't need ternary operator for boolean expressions.