code: def _is_default_attr_value(op_def, attr_name, attr_value):
      """Checks if given attribute matches the default value in the op def."""
      for attr_def in op_def.attr:
          if attr_def.name == attr_name:
              if not attr_def.HasField("default_value"):
                  return False
              # c_api.EqualAttrValueWrapper returns an empty string
              # if both arguments represent an equivalent AttrValue instance.
              return not c_api.EqualAttrValueWrapper(
                  attr_value.SerializeToString(),
                  attr_def.default_value.SerializeToString(),
              )
      return False
  
imports: import copy
  from packaging import version
  import os.path
  import re
  import sys
  from google.protobuf.any_pb2 import Any
  from google.protobuf import text_format
  from tensorflow.core.framework import attr_value_pb2
  from tensorflow.core.framework import graph_pb2
  from tensorflow.core.framework import op_def_pb2
  from tensorflow.core.protobuf import meta_graph_pb2
  from tensorflow.core.protobuf import saver_pb2
  from tensorflow.python.client import pywrap_tf_session
  from tensorflow.python.eager import context
  from tensorflow.python.framework import byte_swap_tensor
  from tensorflow.python.framework import error_interpolation
  from tensorflow.python.framework import graph_io
  from tensorflow.python.framework import importer
  from tensorflow.python.framework import op_def_registry
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import versions
  from tensorflow.python.lib.io import file_io
  from tensorflow.python.platform import tf_logging
  from tensorflow.python.util import compat
label_desc: Use image node_id 10 for calling a global function with example usage: _is_default_attr_value(op_def, attr_name, attr_value) and returns: False, unknown, False