code: def is_keyed_widget_id(key: str) -> bool:
      """True if the given session_state key has the structure of a widget ID with a user_key."""
      return is_widget_id(key) and not key.endswith("-None")
  
imports: from __future__ import annotations
  import hashlib
  from dataclasses import dataclass, field
  from datetime import date, datetime, time, timedelta
  from typing import TYPE_CHECKING, Any, Callable, Dict, Generic, Optional, Sequence, Tuple, TypeVar, Union
  from google.protobuf.message import Message
  from typing_extensions import Final, TypeAlias
  from streamlit import util
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.Arrow_pb2 import Arrow
  from streamlit.proto.Button_pb2 import Button
  from streamlit.proto.CameraInput_pb2 import CameraInput
  from streamlit.proto.ChatInput_pb2 import ChatInput
  from streamlit.proto.Checkbox_pb2 import Checkbox
  from streamlit.proto.ColorPicker_pb2 import ColorPicker
  from streamlit.proto.Components_pb2 import ComponentInstance
  from streamlit.proto.DateInput_pb2 import DateInput
  from streamlit.proto.DownloadButton_pb2 import DownloadButton
  from streamlit.proto.FileUploader_pb2 import FileUploader
  from streamlit.proto.MultiSelect_pb2 import MultiSelect
  from streamlit.proto.NumberInput_pb2 import NumberInput
  from streamlit.proto.Radio_pb2 import Radio
  from streamlit.proto.Selectbox_pb2 import Selectbox
  from streamlit.proto.Slider_pb2 import Slider
  from streamlit.proto.TextArea_pb2 import TextArea
  from streamlit.proto.TextInput_pb2 import TextInput
  from streamlit.proto.TimeInput_pb2 import TimeInput
  from streamlit.type_util import ValueFieldName
  from streamlit.util import HASHLIB_KWARGS
label_desc: Use image node_id 4 for calling a global function with example usage: is_keyed_widget_id(key) and returns: unknown