This lambda returns a boolean, update the return statements.