code: def _special_kwarg_check(kwargs, check_args):
      _used_args = {}
      for arg in kwargs:
          if arg in check_args:
              _used_args[arg] = kwargs[arg]
      return True, _used_args
  
imports: from bigdl.llm.utils.common import invalidInputError
  import argparse
  import os
label_desc: Use image node_id 1 for calling a global function with example usage: _special_kwarg_check(kwargs, check_args) and returns: True,  _used_args