code: def getbool(key, default=False):
      
      value = os.getenv(key)
      if value and value.lower() in ('true', '1'):
          value = True
      elif value and value.lower() in ('false', '0'):
          value = False
      else:
          value = default
      return value
docs: Returns True or False for any TRUE, FALSE, 0, or 1.
      Other values return default.