code: def test_shadow_pass():
      ren, passes = make_passes()
      ren_pass = passes.enable_shadow_pass()
      assert isinstance(ren_pass, _vtk.vtkShadowMapPass)
  
      assert passes._pass_collection.IsItemPresent(ren_pass)
  
      passes.disable_shadow_pass()
      assert not passes._pass_collection.IsItemPresent(ren_pass)
  
file_path: pyvista/tests/plotting/test_render_pass.py
imports: import pytest
  from pyvista import _vtk
  from pyvista.plotting.render_passes import RenderPasses
label_desc: Use image node_id 8 for calling a global function with example usage: test_shadow_pass() without return types