Returns whether this is a (non-quantized) integer type.

def is_integer(self):
        """Returns whether this is a (non-quantized) integer type."""
        return (
            self.is_numpy_compatible
            and not self.is_quantized
            and np.issubdtype(self.as_numpy_dtype, np.integer)
        )