code: def _get_bool_flag(self, config: Dict, key: str) -> bool:
      value = config.get(key, False)
      if isinstance(value, str):
          value = value.lower() == "true"
      return value
  
file_path: studio/studio/queues/sqs_queue.py
imports: import time
  from typing import Dict
  import boto3
  from studio.credentials.credentials import Credentials, KEY_CREDENTIALS
  from studio.storage.storage_setup import get_storage_verbose_level
  from studio.util import logs, util
label_desc: Use image node_id 3 for calling the SQSQueue obj's underlying member method code with example usage: obj._get_bool_flag(config, key) and returns: value