code: def test_resolve_resolves_boolean_value():
      d = {"enabled": True, "disabled": False}
      context = Context(d)
  
      assert context.resolve_str("${enabled}") is True
      assert context.resolve_str("${disabled}") is False
  
      assert context.resolve_str("--flag ${enabled}") == "--flag true"
      assert context.resolve_str("--flag ${disabled}") == "--flag false"
  
imports: from dataclasses import asdict
  from math import pi
  import pytest
  from dvc.fs import LocalFileSystem
  from dvc.parsing import DEFAULT_PARAMS_FILE
  from dvc.parsing.context import Context, CtxDict, CtxList, KeyNotInContext, MergeError, ParamsLoadError, Value, recurse_not_a_node
  from dvc.utils import relpath
  from dvc.utils.serialize import dumps_yaml
label_desc: Use image node_id 18 for calling a global function with example usage: test_resolve_resolves_boolean_value() without return types