code: def lines_diff(lines1, lines2):
      """Show difference between lines."""
      is_diff = False
      diffs = list()
  
      for line in difflib.ndiff(lines1, lines2):
          if not is_diff and line[0] in ("+", "-"):
              is_diff = True
          diffs.append(line)
  
      return is_diff, diffs
  
file_path: clearml/clearml/utilities/pigar/utils.py
imports: from __future__ import print_function, division, absolute_import
  import os
  import re
  import sys
  import difflib
label_desc: Use image node_id 6 for calling a global function with example usage: lines_diff(lines1, lines2) and returns: is_diff,  diffs