code: def _contains_nd(nodes, point):
      r
      min_vals = np.min(nodes, axis=1)
      if not np.all(min_vals <= point):
          return False
  
      max_vals = np.max(nodes, axis=1)
      if not np.all(point <= max_vals):
          return False
  
      return True
docs: r"""Predicate indicating if a point is within a bounding box.
  
      .. note::
  
         There is also a Fortran implementation of this function, which
         will be used if it can be built.
  
      Args:
         nodes (numpy.ndarray): A set of points.
         point (numpy.ndarray): A 1D NumPy array representing a point
             in the same dimension as ``nodes``.
  
      Returns:
          bool: Indicating containment.