code: def get_pos_input() -> bool:
      use_xpos = st.checkbox(
          "Would you like to visualize xpos tags?",
          help="The default visualization options use upos tags for part-of-speech labeling. If xpos tags aren't available for the sentence, displays upos.",
      )
      return use_xpos
  
file_path: stanza/stanza/utils/visualization/semgrex_app.py
imports: import streamlit
  import streamlit.components.v1
  from semgrex_visualizer import visualize_search_str
  from semgrex_visualizer import edit_html_overflow
  from io import StringIO
  import os
  import stanza
  import typing
  from typing import List, Tuple, Any
  import argparse
label_desc: Use image node_id 4 for calling a global function with example usage: get_pos_input() and returns: use_xpos