code: def is_integer(dtype):
      """Returns whether this is a (non-quantized) integer type."""
      dtype = tf.as_dtype(dtype)
      if hasattr(dtype, "is_integer") and not callable(
          dtype.is_integer
      ):
          return dtype.is_integer
      return _issubdtype(np.dtype(dtype), np.integer)
  
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow.python.util import nest
label_desc: Use image node_id 11 for calling a global function with example usage: is_integer(dtype) and returns: _issubdtype, dtype