code: def _check_unknown_options(unknown_options):
      if unknown_options:
          msg = ", ".join(map(str, unknown_options.keys()))
          # Stack level 4: this is called from _minimize_*, which is
          # called from another function in SciPy. Level 4 is the first
          # level in user code.
          warnings.warn(
              "Unknown solver options: %s" % msg, OptimizeWarning, 4
          )
  
imports: import warnings
  import sys
  from numpy import atleast_1d, eye, argmin, zeros, shape, squeeze, asarray, sqrt, Inf, asfarray, isinf
  import numpy
  from .linesearch import line_search_wolfe1, line_search_wolfe2, line_search_wolfe2, LineSearchWarning
  from ._numdiff import approx_derivative
  from scipy._lib._util import getfullargspec_no_self
  from scipy._lib._util import MapWrapper
  from scipy.optimize._differentiable_functions import ScalarFunction, FD_METHODS
label_desc: Use image node_id 1 for calling a global function with example usage: _check_unknown_options(unknown_options) without return types