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: from __future__ import division, print_function, absolute_import
  import warnings
  import sys
  import numpy
  from scipy._lib.six import callable, xrange
  from numpy import atleast_1d, eye, mgrid, argmin, zeros, shape, squeeze, vectorize, asarray, sqrt, Inf, asfarray, isinf
  import numpy
  from .linesearch import line_search_wolfe1, line_search_wolfe2, line_search_wolfe2, LineSearchWarning
  from scipy._lib._util import getargspec_no_self
label_desc: Use image node_id 1 for calling a global function with example usage: _check_unknown_options(unknown_options) without return types