code: def set_menu_items_proto(
      lowercase_menu_items, menu_items_proto
  ) -> None:
      if GET_HELP_KEY in lowercase_menu_items:
          if lowercase_menu_items[GET_HELP_KEY] is not None:
              menu_items_proto.get_help_url = lowercase_menu_items[
                  GET_HELP_KEY
              ]
          else:
              menu_items_proto.hide_get_help = True
  
      if REPORT_A_BUG_KEY in lowercase_menu_items:
          if lowercase_menu_items[REPORT_A_BUG_KEY] is not None:
              menu_items_proto.report_a_bug_url = lowercase_menu_items[
                  REPORT_A_BUG_KEY
              ]
          else:
              menu_items_proto.hide_report_a_bug = True
  
      if ABOUT_KEY in lowercase_menu_items:
          if lowercase_menu_items[ABOUT_KEY] is not None:
              menu_items_proto.about_section_md = dedent(
                  lowercase_menu_items[ABOUT_KEY]
              )
  
file_path: streamlit/lib/streamlit/commands/page_config.py
imports: import random
  from textwrap import dedent
  from typing import TYPE_CHECKING, Mapping, Optional, Union, cast
  from urllib.parse import urlparse
  from typing_extensions import Final, Literal, TypeAlias
  from streamlit.elements import image
  from streamlit.errors import StreamlitAPIException
  from streamlit.proto.ForwardMsg_pb2 import ForwardMsg
  from streamlit.proto.PageConfig_pb2 import PageConfig
  from streamlit.runtime.metrics_util import gather_metrics
  from streamlit.runtime.scriptrunner import get_script_run_ctx
  from streamlit.string_util import is_emoji
  from streamlit.util import lower_clean_dict_keys
label_desc: Use image node_id 4 for calling a global function with example usage: set_menu_items_proto(lowercase_menu_items, menu_items_proto) without return types