code: def _safe_tuple(t):
      "Helper function for comparing 2-tuples"
      return _safe_key(t[0]), _safe_key(t[1])
  
imports: import collections
  import dataclasses
  import re
  import sys
  import types
  from io import StringIO
label_desc: Use image node_id 7 for calling a global function with example usage: _safe_tuple(t) and returns: _safe_key,  _safe_key