code: def show_style(show, display_style="block"):
      return {"display": display_style if show else "none"}
  
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 1 for calling a global function with example usage: show_style(show, display_style) and returns: dict