code: def execute_fn_with_args_and_or_kwargs(fn, args, kwargs):
      """If args + kwargs aren't accepted only args are passed in"""
      try:
          return fn(*args, **kwargs)
      except TypeError:
          return fn(*args)
  
imports: from functools import wraps
label_desc: Use image node_id 5 for calling a global function with example usage: execute_fn_with_args_and_or_kwargs(fn, args, kwargs) and returns: fn, fn