code: def assert_bool(**kwargs):
      """Ensure all given values are boolean.
  
      :raises TypeError: if value is not ``True`` or ``False.
  
      .. versionadded:: 0.5.4
      """
      for label, subject in kwargs.items():
          if not isinstance(subject, bool):
              fmt = "{0} must be a bool, not {1}"
              msg = fmt.format(label, repr(subject))
              raise TypeError(msg)
  
file_path: wand/wand/assertions.py
imports: import numbers
  from .compat import string_type
  from .color import Color
label_desc: Use image node_id 1 for calling a global function with example usage: assert_bool() without return types