code: def compare_tail(fileName, lines, path="samples"):
      assert len(lines) > 0
      fileLines = get_file_lines(os.path.join(path, fileName))
      return fileLines[len(lines) * -1 :] == lines
  
imports: import csv
  import os
  import shutil
  import subprocess
  import tempfile
  import unittest
  import matplotlib
  from six.moves import xrange
  from pyalgotrade import dataseries
label_desc: Use image node_id 6 for calling a global function with example usage: compare_tail(fileName, lines, path) and returns: unknown