code: def parse_bool(value: Union[bool, int, str]) -> bool:
      """Parses boolean value from strings/integers in datasets."""
      if not isinstance(value, str):
          return bool(value)
      normalized_string = value.strip().lower()
      if normalized_string in ("false", "0"):
          return False
      if normalized_string in ("true", "1"):
          return True
      raise Exception(f'Cannot convert "{value}" to bool')
  
label_desc: Use image node_id 1 for calling a global function with example usage: parse_bool(value) and returns: bool, False, True