code: def images_same_data(image1: Image, image2: Image) -> bool:
      """
      Compare two Aim images to see if they contain the same values
      """
      image_diff = PILImageChops.difference(
          image1.to_pil_image(), image2.to_pil_image()
      )
      return image_diff.getbbox() is None
  
imports: from queue import Queue
  import numpy
  from PIL import ImageChops
  import tensorflow
  from tensorboard.compat.proto.summary_pb2 import SummaryMetadata, Summary
  from tensorboard.compat.proto.tensor_pb2 import TensorProto
  from tensorboard.compat.proto.tensor_shape_pb2 import TensorShapeProto
  from tensorboard.compat.proto.event_pb2 import Event
  from tensorboard.util.tensor_util import make_tensor_proto
  from torch.utils.tensorboard.summary import image, scalar, histogram, histogram_raw
  from aim import Image, Distribution
  from aim.ext.tensorboard_tracker.tracker import TensorboardFolderTracker
  from tests.base import TestBase
label_desc: Use image node_id 1 for calling a global function with example usage: images_same_data(image1, image2) and returns: unknown