code: def strip_blank_lines(l):
      "Remove leading and trailing blank lines from a list of lines"
      while l and not l[0].strip():
          del l[0]
      while l and not l[-1].strip():
          del l[-1]
      return l
  
imports: import inspect
  import textwrap
  import re
  import pydoc
  from warnings import warn
  import collections
  import copy
label_desc: Use image node_id 1 for calling a global function with example usage: strip_blank_lines(l) and returns: l