code: def assert_coordinate(**kwargs):
      """Ensure all given values are a sequence of 2 real numbers.
  
      :raises TypeError: if value is not a pair of doubles.
  
      .. versionadded:: 0.6.0
      """
      for label, subject in kwargs.items():
          if not isinstance(subject, Sequence):
              fmt = "'{0}' must be a pair of real numbers, not {1}"
              msg = fmt.format(label, repr(subject))
              raise TypeError(msg)
          elif len(subject) != 2:
              fmt = "'{0}' must be a exactly 2 real numbers, not {1}"
              msg = fmt.format(label, len(subject))
              raise ValueError(msg)
          elif not isinstance(subject[0], numbers.Real):
              fmt = (
                  "first entry of '{0}' must be a real number, not {1}"
              )
              msg = fmt.format(label, repr(subject[0]))
              raise TypeError(msg)
          elif not isinstance(subject[1], numbers.Real):
              fmt = (
                  "second entry of '{0}' must be a real number, not {1}"
              )
              msg = fmt.format(label, repr(subject[1]))
              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 7 for calling a global function with example usage: assert_coordinate() without return types