code: def should_have_license(fname):
      if any([l in fname for l in _WHITE_LIST]):
          logging.debug("skip " + fname + ", it matches the white list")
          return False
      _, ext = os.path.splitext(fname)
      if ext not in _LANGS:
          logging.debug("skip " + fname + ", unknown file extension")
          return False
      return True
  
imports: import re
  import os
  import argparse
  from itertools import chain
  import logging
  import sys
  import subprocess
label_desc: Use image node_id 7 for calling a global function with example usage: should_have_license(fname) and returns: True, False, False