code: def _isin(i, x):
      """check if i is in iterable x
  
      Args:
        i (ndarray): an array of shape ``(npts,)``, or a scalar value
        x (ndarray): an array of shape ``(npts, nparam)`` or higher dimension
  
      Returns:
        True, if ``x`` contains ``i``
      """
      import numpy as np
  
      x = np.asarray(x)  # XXX: doesn't verify that i is iterable
      if x.ndim == 1:  # FIXME: expects i not nessarily an iterable
          return np.equal(i, x).any()
      return np.equal(i, x).all(axis=-1).any()
  
imports: from mystic.math import _rbf
label_desc: Use image node_id 4 for calling a global function with example usage: _isin(i, x) and returns: np, np