code: def _validate_s3_uri(instance, attribute, s3_uri):
      # pylint: disable=unused-argument
      """This is the helper method to validate the s3 uri"""
      if s3_uri:
          SparkConfigUtils.validate_s3_uri(s3_uri)
  
imports: from __future__ import absolute_import
  from typing import Optional, List, Dict, Union
  import attr
  from sagemaker.spark.processing import SparkConfigUtils
label_desc: Use image node_id 2 for calling a global function with example usage: _validate_s3_uri(instance, attribute, s3_uri) without return types