code: def parse_ini_boolean(value):
      if value in (True, False):
          return value
      try:
          return {"true": True, "false": False}[value.lower()]
      except KeyError:
          raise ValueError("unknown string for bool: %r" % value)
  
imports: from __future__ import unicode_literals
  import functools
  import inspect
  import sys
  import pytest
  import six
  from ._version import version
label_desc: Use image node_id 14 for calling a global function with example usage: parse_ini_boolean(value) and returns: value, dict