simplify boolean return