code: def is_images_identical(image_path_1, image_path_2, output_bool=True):
      percentage_diff = diffimg.diff(
          image_path_1, image_path_2, delete_diff_file=True
      )
      if output_bool:
          return True if percentage_diff == 0 else False
      return percentage_diff
  
file_path: mpld3/mpld3/tests/export.py
imports: import uuid
  import subprocess
  import mpld3
  import multiprocessing
  import os
  import diffimg
  import visualize_tests
  from functools import partial
label_desc: Use image node_id 1 for calling a global function with example usage: is_images_identical(image_path_1, image_path_2, output_bool) and returns: percentage_diff, unknown