code: def IS_LINE_JUNK(line, pat=re.compile(r"\s*(?:#\s*)?$").match):
      r"""
      Return True for ignorable line: iff `line` is blank or contains a single '#'.
  
      Examples:
  
      >>> IS_LINE_JUNK('\n')
      True
      >>> IS_LINE_JUNK('  #   \n')
      True
      >>> IS_LINE_JUNK('hello\n')
      False
      """
  
      return pat(line) is not None
  
imports: from heapq import nlargest
  from collections import namedtuple
  from types import GenericAlias
  import re
label_desc: Use image node_id 4 for calling a global function with example usage: IS_LINE_JUNK(line, pat) and returns: unknown