code: def build_option(value, label=None):
      """
      Returns value/label inputs in a dictionary for use in
      :dash:`dash_core_components.Dropdown <dash-core-components/Dropdown>`
      """
      return {
          "label": value if label is None else label,
          "value": value,
      }
  
file_path: dtale/dtale/dash_application/layout/utils.py
imports: import dash_bootstrap_components
  from dtale.dash_application import dcc, html
  from dtale.translations import text
  from dtale.utils import dict_merge, classify_type, flatten_lists, make_list
  from dtale.charts.utils import INDEX_COL
  from dtale.constants import CHART_JOINER_CHAR
label_desc: Use image node_id 3 for calling a global function with example usage: build_option(value, label) and returns: dict