code: def to_bool(value) -> bool:
      return str(value).lower() == "true"
  
imports: import os
  from typing import Optional
  from openai import OpenAI
  from openai.version import VERSION
  from promptflow import tool
label_desc: Use image node_id 1 for calling a global function with example usage: to_bool(value) and returns: unknown