code: def verify_output_names(output_names, graph_def):
      """Check if output_names are correct"""
      flag = False
      for n in output_names:
          if not pb.verify_name(n, graph_def):
              logger.fatal("%s is not found in graph", n)
              flag = True
      if flag:
          names = pb.search_output_names(graph_def)
          logger.fatal("Potential output names:\n%s", "\n".join(names))
          return False
      else:
          return True
  
file_path: auptimizer/src/aup/dlconvert/pb_to_tflite.py
imports: from os import path
  import logging
  from typing import List
  from absl import flags, app
  from tensorflow import lite, keras
  import tensorflow
  from .utils import reset_flag
  from .to_tflite import create_converter
  from .spec_utils import pb
label_desc: Use image node_id 2 for calling a global function with example usage: verify_output_names(output_names, graph_def) and returns: False, True