code: def cell_ends_with_code(lines):
      """Is the last line of the cell a line with code?"""
      if not lines:
          return False
      if not lines[-1].strip():
          return False
      if lines[-1].startswith("#"):
          return False
      return True
  
imports: from .stringparser import StringParser
label_desc: Use image node_id 3 for calling a global function with example usage: cell_ends_with_code(lines) and returns: True, False, False, False