class_docstr: A prescription of how metadata is to be passed to a single method.
  
  Refer to :class:`MetadataRequest` for how this class is used.
  
  .. versionadded:: 1.3
  
  Parameters
  ----------
  owner : str
      A display name for the object owning these requests.
  
  method : str
      The name of the method to which these requests belong.
  
  requests : dict of {str: bool, None or str}, default=None
      The initial requests for this method.
class_docstr_tok: ["A","prescription","of","how","metadata","is","to","be","passed","to","a","single","method",".","Refer","to",":","class",":","`","MetadataRequest","`","for","how","this","class","is","used",".","..","versionadded",":",":","1.3","Parameters","--","--","--","--","--","owner",":","str","A","display","name","for","the","object","owning","these","requests",".","method",":","str","The","name","of","the","method","to","which","these","requests","belong",".","requests",":","dict","of","{","str",":","bool",",","None","or","str","}",",","default=None","The","initial","requests","for","this","method","."]
docstr: Check whether metadata is passed which is marked as WARN.
  
  If any metadata is passed which is marked as WARN, a warning is raised.
  
  Parameters
  ----------
  params : dict
      The metadata passed to a method.
docstr_tok: ["Check","whether","metadata","is","passed","which","is","marked","as","WARN",".","If","any","metadata","is","passed","which","is","marked","as","WARN",",","a","warning","is","raised",".","Parameters","--","--","--","--","--","params",":","dict","The","metadata","passed","to","a","method","."]
code: def _check_warnings(self, *, params):
      """Check whether metadata is passed which is marked as WARN.
  
      If any metadata is passed which is marked as WARN, a warning is raised.
  
      Parameters
      ----------
      params : dict
          The metadata passed to a method.
      """
      params = {} if params is None else params
      warn_params = {
          prop
          for prop, alias in self._requests.items()
          if alias == WARN and prop in params
      }
      for param in warn_params:
          warn(
              f"Support for {param} has recently been added to this class. "
              "To maintain backward compatibility, it is ignored now. "
              "You can set the request value to False to silence this "
              "warning, or to True to consume and use the metadata."
          )
  
imports: import inspect
  from collections import namedtuple
  from copy import deepcopy
  from typing import TYPE_CHECKING, Optional, Union
  from warnings import warn
  from ..None import get_config
  from ..exceptions import UnsetMetadataPassedError
  from ._bunch import Bunch
label_desc: Use image node_id 5 for calling the MethodMetadataRequest obj's underlying member method code with example usage: obj._check_warnings() without return types