surely `if (!b)` suffices if we already know it's an instance of Boolean