code: def check_unique_named_object_has_class(root, name, class_name):
      
      assert class_name == get_unique_named_object(root, name).__class__.__name__
docs: checks the type (type name) of an unique named object (no fully qualified
      name)
  
      Args:
          root: start of search
          name: name of object
          class_name: the name of the type to be checked
  
      Returns:
          nothing (if not unique, raises an error)