code: def is_numpy_compatible(dtype):
      """Returns if dtype has a corresponding NumPy dtype."""
      if JAX_MODE or NUMPY_MODE:
          return True
      else:
          return tf.as_dtype(dtype).is_numpy_compatible
  
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow.python.util import nest
label_desc: Use image node_id 1 for calling a global function with example usage: is_numpy_compatible(dtype) and returns: True, tf