code: def s3_enabled():
      from gluonnlp.utils.lazy_imports import try_import_boto3
  
      try:
          boto3, botocore = try_import_boto3()
          s3 = boto3.resource("s3")
          for bucket in s3.buckets.all():
              print(bucket.name)
          return True
      except Exception:
          return False
  
file_path: gluon-nlp/tests/test_utils_misc.py
imports: import pytest
  import tempfile
  import os
  import logging
  import multiprocessing
  import functools
  from pathlib import Path
  import numpy
  import mxnet
  from gluonnlp.utils.misc import download, sha1sum, logging_config, get_mxnet_visible_ctx, logerror
label_desc: Use image node_id 1 for calling a global function with example usage: s3_enabled() and returns: True, False