You want the opposite.
The OP literally codified the Huang’s answer. It’s you interpreting it wrong.
I think he handled that well. The released footage was full of political gotcha questions, including ones directed at trump being at fault. He managed to avoid creating any soundbites or liability. I actually don’t think there was any actionable liability, because the US govt allowed both old gen chip sales & setting up data centers in Singapore that China could rent. The only thing he may have lied about is strictly counting every chip, but that wasn’t under oath. Regardless, this is all a bit of showmanship for pretend accountability
There should be a format of congressional interrogation where the subject can only say yes or no.
Give them two buttons, one for YES and one for NO

Logic bug. HuangBullshit is returning
trueif anystatementistrue. You want the opposite.Mapis aSet, Use a set instead.Don’t use
Booleanifnullis never a possibility, just useboolean. The same is true of all the boxes for primitives. It’s a huge performance penalty to useIntegerwhenintworks. Not so much withBooleanbut the principle is the same. You are forcing whoever sees your method to question whether or not you are going to get anullout of that method.The correct code should look like this: