code: def _validate_configuration(instance, attribute, configuration):
      # pylint: disable=unused-argument
      """This is the helper method to validate the spark configuration"""
      if configuration:
          SparkConfigUtils.validate_configuration(
              configuration=configuration
          )
  
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 1 for calling a global function with example usage: _validate_configuration(instance, attribute, configuration) without return types