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