code: def test_load_flag(unittest, test_data):
      initialize_store(test_data)
      global_state.set_settings("1", dict(hide_shutdown=True))
      unittest.assertEqual(
          global_state.load_flag("1", "hide_shutdown", False), True
      )
      global_state.set_settings("1", dict(hide_shutdown=False))
      unittest.assertEqual(
          global_state.load_flag("1", "hide_shutdown", True), False
      )
  
file_path: dtale/tests/dtale/test_global_state.py
imports: import mock
  import pandas
  import pytest
  import dtale.global_state
  from dtale.views import build_dtypes_state
label_desc: Use image node_id 8 for calling a global function with example usage: test_load_flag(unittest, test_data) without return types