code: def test_single_value_bool():
      for a in (True, False):
          c = interactive(f, a=a)
          w = c.children[0]
          check_widget(
              w,
              cls=widgets.Checkbox,
              description="a",
              value=a,
          )
  
imports: from unittest.mock import patch
  import os
  from collections import OrderedDict
  import pytest
  import ipywidgets
  from traitlets import TraitError, Float
  from ipywidgets import interact, interact_manual, interactive, interaction, Output, Widget
  from .utils import setup, teardown
label_desc: Use image node_id 7 for calling a global function with example usage: test_single_value_bool() without return types