code: def test_volume_independent_components(vol_prop):
      assert isinstance(vol_prop.independent_components, bool)
      vol_prop.independent_components = True
      assert vol_prop.independent_components is True
      vol_prop.independent_components = False
      assert vol_prop.independent_components is False
  
file_path: pyvista/tests/plotting/test_volume_property.py
imports: import pytest
  import pyvista
  from pyvista.plotting.volume_property import VolumeProperty
label_desc: Use image node_id 5 for calling a global function with example usage: test_volume_independent_components(vol_prop) without return types