The expression after the if-statement already evaluates to a boolean. No need to 'return true if x' just return x.