code: def check_obsolete(kwargs):
      for key in kwargs:
          if key in ["components_cache_max_age", "static_folder"]:
              raise exceptions.ObsoleteKwargException(
                  f"""
                  {key} is no longer a valid keyword argument in Dash since v1.0.
                  See https://dash.plotly.com for details.
                  """
              )
          # any other kwarg mimic the built-in exception
          raise TypeError(
              f"Dash() got an unexpected keyword argument '{key}'"
          )
  
imports: from collections.abc import MutableSequence
  import re
  from textwrap import dedent
  from keyword import iskeyword
  import flask
  from ._grouping import grouping_len, map_grouping
  from .development.base_component import Component
  from .None import exceptions
  from ._utils import patch_collections_abc, stringify_id, to_json, coerce_to_list, clean_property_name
label_desc: Use image node_id 9 for calling a global function with example usage: check_obsolete(kwargs) without return types