Use SDValue bool operator to reduce code. No functional change.