code: def run_available_kwargs(func: Callable, **kwargs):
      """Run the passed object only with available kwargs."""
      avail_kwargs = list(signature(func).parameters.keys())
      pass_kwargs = {}
      for kwarg_name in avail_kwargs:
          if kwarg_name in kwargs:
              pass_kwargs[kwarg_name] = kwargs[kwarg_name]
      return func(**pass_kwargs)
  
imports: from functools import lru_cache
  from inspect import Signature, signature
  from typing import Any, Callable, Dict
label_desc: Use image node_id 1 for calling a global function with example usage: run_available_kwargs(func) and returns: func