code: def combo_check(fun, *args, **kwargs):
      # Tests all combinations of args and kwargs given.
      _check_grads = lambda f: check_grads(f, *args, **kwargs)
  
      def _combo_check(*args, **kwargs):
          kwarg_key_vals = [
              [(k, x) for x in xs] for k, xs in kwargs.items()
          ]
          for _args in product(*args):
              for _kwargs in product(*kwarg_key_vals):
                  _check_grads(fun)(*_args, **dict(_kwargs))
  
      return _combo_check
  
file_path: autograd/autograd/test_util.py
imports: from functools import partial
  from itertools import product
  from .core import make_vjp, make_jvp, vspace
  from .util import subvals
  from .wrap_util import unary_to_nary, get_name
label_desc: Use image node_id 7 for calling a global function with example usage: combo_check(fun) and returns: _combo_check