code: def get_output_lines(self, skip_last_line_if_empty=False):
      ret = self.__output.splitlines()
      # Skip the last, empty line.
      if skip_last_line_if_empty and len(ret[:-1]) == 0:
          ret = ret[:-1]
      return ret
  
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 4 for calling the RunResults obj's underlying member method code with example usage: obj.get_output_lines(skip_last_line_if_empty) and returns: ret