code: def s3_access_logging_bucket(config):
      """Get the bucket name to be used for S3 Server Access Logging
  
      Args:
          config (dict): The loaded config from the 'conf/' directory
  
      Returns:
          tuple (string, bool): The bucket name to be used for S3 Server Access Logging, and
              False if the bucket should NOT be created (eg: a pre-existing bucket name is provided)
      """
      # If a bucket name is specified for S3 event logging, we can assume the bucket
      # should NOT be created
      default_name = DEFAULT_S3_LOGGING_BUCKET_SUFFIX.format(
          config["global"]["account"]["prefix"]
      )
      if "s3_access_logging" not in config["global"]["infrastructure"]:
          return (
              default_name,
              True,
          )  # Use the default name and create the bucket
  
      bucket_name = config["global"]["infrastructure"][
          "s3_access_logging"
      ].get("bucket_name", default_name)
      return bucket_name, bucket_name == default_name
  
file_path: streamalert/streamalert_cli/terraform/common.py
imports: from collections import defaultdict
label_desc: Use image node_id 4 for calling a global function with example usage: s3_access_logging_bucket(config) and returns: bucket_name,  unknown, default_name,  True