code: def tcl_obj_eq(actual, expected):
      if actual == expected:
          return True
      if isinstance(actual, _tkinter.Tcl_Obj):
          if isinstance(expected, str):
              return str(actual) == expected
      if isinstance(actual, tuple):
          if isinstance(expected, tuple):
              return len(actual) == len(expected) and all(
                  tcl_obj_eq(act, exp)
                  for act, exp in zip(actual, expected)
              )
      return False
  
file_path: catboost/contrib/tools/python/src/Lib/lib-tk/test/test_ttk/support.py
imports: import functools
  import re
  import unittest
  import Tkinter
  import _tkinter
label_desc: Use image node_id 6 for calling a global function with example usage: tcl_obj_eq(actual, expected) and returns: False, True, unknown, unknown