code: def _align_header(header, alignment, width):
      if alignment == "left":
          return _padright(width, header)
      elif alignment == "center":
          return _padboth(width, header)
      elif not alignment:
          return "{0}".format(header)
      else:
          return _padleft(width, header)
  
imports: from __future__ import print_function
  from __future__ import unicode_literals
  from collections import namedtuple
  from platform import python_version_tuple
  import re
label_desc: Use image node_id 20 for calling a global function with example usage: _align_header(header, alignment, width) and returns: _padright, _padboth, str, _padleft