code: def _handle_unused_kwargs(solver, unused_kwargs):
      if len(unused_kwargs) > 0:
          warnings.warn(
              "{}: Unexpected arguments {}".format(
                  solver.__class__.__name__, unused_kwargs
              )
          )
  
imports: from enum import Enum
  import math
  import numpy
  import torch
  import warnings
  from .event_handling import combine_event_functions
label_desc: Use image node_id 1 for calling a global function with example usage: _handle_unused_kwargs(solver, unused_kwargs) without return types