code: def _bool(value):
      if isinstance(value, bool):
          return value
  
      return not (
          value is None
          or value.lower() in ("false", "0", "no", "n", "f", "none")
      )
  
imports: import decimal
  import json
  import os
  from dateutil import parser
label_desc: Use image node_id 2 for calling a global function with example usage: _bool(value) and returns: unknown, value