code: def _transpose_checker(mapping):
      """
      Check for the given dictionary that transpose (symmetric) relationship holds.
  
      Args:
          mapping: Dictionary representing a mapping of filenames to the list of respective duplicate filenames.
      """
      for key, val in mapping.items():
          # check for each value in the list if the key is present as its value
          for v in val:
              assert key in mapping[v], (
                  f"Transpose relationship violated, file {key} not present as a duplicate for file {v} in the provided"
                  f" mapping dictionary"
              )
  
file_path: imagededup/imagededup/evaluation/evaluation.py
imports: import itertools
  from typing import Dict
  from imagededup.handlers.metrics.classification import classification_metrics
  from imagededup.handlers.metrics.information_retrieval import mean_metric, get_all_metrics
  from imagededup.utils.logger import return_logger
label_desc: Use image node_id 1 for calling a global function with example usage: _transpose_checker(mapping) without return types