code: def check_is_iterable(obj, /, *, name="Object"):
      """Check if an object is an instance of ``Iterable``.
  
      Parameters
      ----------
      obj : Iterable
          Iterable object to check.
  
      name : str, default: "Object"
          Variable name to use in the error messages if any are raised.
  
      Raises
      ------
      TypeError
          If input is not an instance of ``Iterable``.
  
      See Also
      --------
      check_is_sequence
      check_is_instance
      check_is_iterable_of_some_type
  
      Examples
      --------
      Check if an object is iterable.
  
      >>> import numpy as np
      >>> import pyvista.core.input_validation as valid
      >>> valid.check_is_iterable([1, 2, 3])
      >>> valid.check_is_iterable(np.array((4, 5, 6)))
  
      """
      try:
          check_is_instance(
              obj, Iterable, allow_subclass=True, name=name
          )
      except TypeError:
          raise
  
imports: from collections.abc import Iterable, Sequence
  from numbers import Number
  from typing import Tuple, Union, get_args, get_origin
  import numpy
  from pyvista.core.utilities.arrays import cast_to_ndarray
label_desc: Use image node_id 16 for calling a global function with example usage: check_is_iterable() without return types