that code is fine.

you realize that !0 --> true and !1 --> bummer, right ?