def is_true(self, builder, typ, val):
        impl = self.get_function(bool, typing.signature(types.boolean, typ))
        return impl(builder, (val,))
Return the truth value of a value of the given Numba type.
dataset/ETHPy150Open numba/numba/numba/targets/base.py/BaseContext.is_true