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