code: def image_size_exceeds_limit_for_logging(content_size):
      if content_size > _LOGGED_IMAGE_SIZE_LIMIT_MB * BYTES_IN_MB:
          warnings.warn(
              f"You are attempting to log an image that is {content_size / BYTES_IN_MB:.2f}MB large. "
              f"Neptune supports logging images smaller than {_LOGGED_IMAGE_SIZE_LIMIT_MB}MB. "
              "Resize or increase compression of this image.",
              category=UserWarning,
          )
          return True
      return False
  
imports: import logging
  import warnings
label_desc: Use image node_id 2 for calling a global function with example usage: image_size_exceeds_limit_for_logging(content_size) and returns: False, True