Adjusted boolean function.