def is_out_of_bounds(self, idx):
        underflow = self._builder.icmp_signed('<', idx,
                                              ir.Constant(idx.type, 0))
        overflow = self._builder.icmp_signed('>=', idx, self.size)
        return self._builder.or_(underflow, overflow)
Return whether the index is out of bounds.
dataset/ETHPy150Open numba/numba/numba/targets/listobj.py/_ListPayloadMixin.is_out_of_bounds