code: def is_pyvista_dataset(obj):
      """Return ``True`` if the object is a PyVista wrapped dataset.
  
      Parameters
      ----------
      obj : Any
          Any object to test.
  
      Returns
      -------
      bool
          ``True`` when the object is a :class:`pyvista.DataSet`.
  
      """
      return isinstance(obj, (pyvista.DataSet, pyvista.MultiBlock))
  
file_path: pyvista/pyvista/core/utilities/helpers.py
imports: import collections
  from typing import TYPE_CHECKING, Optional, Union, cast
  import numpy
  import pyvista
  from pyvista.core import _vtk_core
  from .None import transformations
  from .fileio import from_meshio, is_meshio_mesh
label_desc: Use image node_id 2 for calling a global function with example usage: is_pyvista_dataset(obj) and returns: isinstance