code: def diff(f1, f2):
      """Returns True if the files are different."""
      with open(f1) as fin:
          f1_contents = fin.read()
      with open(f2) as fin:
          f2_contents = fin.read()
      return f1_contents != f2_contents
  
file_path: gensim/docs/src/tools/check_gallery.py
imports: import argparse
  import os
  import os.path
  import re
  import sys
  import shlex
  import subprocess
label_desc: Use image node_id 4 for calling a global function with example usage: diff(f1, f2) and returns: unknown