code: def IsCondMerge(op):
      """Return true if `op` is the Merge for a conditional."""
      if not IsMerge(op):
          return False
      if not op.inputs:
          return False
      # Merge nodes are not part of the cond control flow context that they
      # represent, so consider the inputs to the merge of to determine if it is
      # cond merge or not: A merge is a cond merge iff all its inputs are in
      # cond contexts.
      is_cond_merge = True
      for i in op.inputs:
          ctxt = GetOutputContext(i.op)
          is_cond_merge = (
              is_cond_merge
              and ctxt is not None
              and ctxt.IsCondContext()
          )
      return is_cond_merge
  
imports: import os
  import traceback
  from tensorflow.python import tf2
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 13 for calling a global function with example usage: IsCondMerge(op) and returns: is_cond_merge, False, False