code: def assert_color(**kwargs):
      """Ensure all given values are instances of :class:`~wand.color.Color`.
  
      :raises TypeError: if value is not :class:`~wand.color.Color`.
  
      .. versionadded:: 0.5.4
      """
      for label, subject in kwargs.items():
          if not isinstance(subject, Color):
              fmt = "Expecting an instance of wand.color.Color for {0}, 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 2 for calling a global function with example usage: assert_color() without return types