Fix printing of stuff that's implicitly convertible to bool (e.g. functions)