code: def is_np_array():
      """Checks whether the NumPy-array semantics is currently turned on.
      This is currently used in Gluon for checking whether an array of type `mxnet.numpy.ndarray`
      or `mx.nd.NDArray` should be created. For example, at the time when a parameter
      is created in a `Block`, an `mxnet.numpy.ndarray` is created if this returns true; else
      an `mx.nd.NDArray` is created.
  
      Normally, users are not recommended to use this API directly unless you known exactly
      what is going on under the hood.
  
      Please note that this is designed as an infrastructure for the incoming
      MXNet-NumPy operators. Legacy operators registered in the modules
      `mx.nd` and `mx.sym` are not guaranteed to behave like their counterparts
      in NumPy within this semantics.
  
      Returns
      -------
          A bool value indicating whether the NumPy-array semantics is currently on.
      """
      return (
          _NumpyArrayScope._current.value._is_np_array
          if hasattr(_NumpyArrayScope._current, "value")
          else False
      )
  
imports: import ctypes
  import functools
  import inspect
  import threading
  import tempfile
  import platform
  from contextlib import contextmanager
  from struct import calcsize
  from .base import _LIB, check_call, c_str, py_str, numeric_types, integer_types, long, _MAX_VALUE_64_BIT_UNSIGNED_, _MAX_VALUE_64_BIT_SIGNED_, _MAX_VALUE_FLOAT32_REPRESENT_
label_desc: Use image node_id 10 for calling a global function with example usage: is_np_array() and returns: unknown