code: def _has_license(lines):
      return any(
          [any([p in l for p in _LICENSE_PATTERNS]) for l in lines]
      )
  
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 1 for calling a global function with example usage: _has_license(lines) and returns: any