code: def test_overrides_boolean():
      config = Config({}, {"value1": "1", "value2": "0", "value3": "0"})
      config.add("value1", None, "env", [bool])
      config.add("value2", None, "env", [bool])
      config.add("value3", True, "env", ())
  
      assert config.value1 is True
      assert config.value2 is False
      assert config.value3 is False
  
imports: import pickle
  import time
  from pathlib import Path
  from unittest import mock
  import pytest
  import sphinx
  from sphinx.builders.gettext import _gettext_compact_validator
  from sphinx.config import ENUM, Config, _Opt, check_confval_types
  from sphinx.deprecation import RemovedInSphinx90Warning
  from sphinx.errors import ConfigError, ExtensionError, VersionRequirementError
label_desc: Use image node_id 7 for calling a global function with example usage: test_overrides_boolean() without return types