code: def is_adjoint_pair(x, y):
      """True iff x and y are adjoints of each other (by id, not entries)."""
      if (
          x is y
      ):  # Note that if x is y then all of their hints are the same!
          if (
              x.is_self_adjoint is False
          ):  # pylint:disable=g-bool-id-comparison
              return False
          if x.is_self_adjoint:
              return True
      # Use the fact that if x = LinearOperatorAdjoint(y), then x.H is y.
      return x.H is y or y.H is x
  
imports: import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_conversion
  from tensorflow.python.module import module
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import check_ops
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import linalg_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.util import nest
label_desc: Use image node_id 15 for calling a global function with example usage: is_adjoint_pair(x, y) and returns: unknown, False, True