code: def check_numpy(archive):
      try:
          import numpy as np
      except ImportError:
          return
      d = archive
      x = np.array([1, 2, 3, 4, 5])
      y = np.arange(1000)
      t = np.dtype([("int32", np.int32), ("float32", np.float32)])
      d["a"] = x
      d["b"] = y
      d["c"] = np.inf
      d["d"] = np.ptp
      d["e"] = t
      assert all(d["a"] == x)
      assert all(d["b"] == y)
      assert d["c"] == np.inf
      assert d["d"](x) == np.ptp(x)
      assert d["e"] == t
      return
  
imports: from klepto.archives import dir_archive
  from pox import rmtree
label_desc: Use image node_id 3 for calling a global function with example usage: check_numpy(archive) without return types