code: def _mk_flag_filter(cmplr_name):  # helper for class initialization
      not_welcome = {
          "g++": ("Wimplicit-interface",)
      }  # "Wstrict-prototypes",)}
      if cmplr_name in not_welcome:
  
          def fltr(x):
              for nw in not_welcome[cmplr_name]:
                  if nw in x:
                      return False
              return True
  
      else:
  
          def fltr(x):
              return True
  
      return fltr
  
imports: from __future__ import annotations
  from typing import Callable, Optional
  from collections import OrderedDict
  import os
  import re
  import subprocess
  import warnings
  from .util import find_binary_of_command, unique_list, CompileError
label_desc: Use image node_id 1 for calling a global function with example usage: _mk_flag_filter(cmplr_name) and returns: fltr, True, True, False