code: def check_wrapper_accepts_kwargs(wrapper):
      """Check that the wrapper accepts keyword arguments in its methods."""
      for method_name in [
          "score_one",
          "predict_one",
          "predict_proba_one",
          "forecast",
          "learn_one",
          "learn_many",
          "predict_many",
          "predict_proba_many",
      ]:
          if method := getattr(wrapper, method_name, None):
              try:
                  method(None)
              except NotImplementedError:
                  continue
              except Exception:
                  pass
              assert inspect.getfullargspec(method).varkw is not None
  
imports: from __future__ import annotations
  import copy
  import inspect
  import pickle
  import random
  from .utils import assert_predictions_are_close, seed_params
label_desc: Use image node_id 20 for calling a global function with example usage: check_wrapper_accepts_kwargs(wrapper) without return types