code: def check_pydot():
      """Returns True if PyDot and Graphviz are available."""
      if pydot is None:
          return False
      try:
          # Attempt to create an image of a blank graph
          # to check the pydot/graphviz installation.
          pydot.Dot.create(pydot.Dot())
          return True
      except (OSError, pydot.InvocationException):
          return False
  
file_path: tensorflow-upstream/tensorflow/python/keras/utils/vis_utils.py
imports: import os
  import sys
  from tensorflow.python.keras.utils.io_utils import path_to_string
  from tensorflow.python.util import nest
label_desc: Use image node_id 1 for calling a global function with example usage: check_pydot() and returns: False, True, False