code: def test_scalar_visibility(composite_mapper):
      isinstance(composite_mapper.scalar_visibility, bool)
  
imports: import pytest
  from vtkmodules.vtkCommonCore import vtkLookupTable
  import pyvista
  from pyvista.plotting.composite_mapper import BlockAttributes, CompositePolyDataMapper
label_desc: Use image node_id 8 for calling a global function with example usage: test_scalar_visibility(composite_mapper) without return types