code: def get_node_platform_config(
      deployment_config: pipeline_pb2.IntermediateDeploymentConfig,
      node_id: str,
  ) -> Optional[message.Message]:
      """Returns the platform config for the given node if it exists."""
      platform_config = (
          deployment_config.node_level_platform_configs.get(node_id)
      )
      if platform_config is None:
          return None
      return proto_utils.unpack_proto_any(platform_config)
  
imports: from typing import Optional
  from tfx.proto.orchestration import pipeline_pb2
  from tfx.utils import proto_utils
  from google.protobuf import message
label_desc: Use image node_id 2 for calling a global function with example usage: get_node_platform_config(deployment_config, node_id) and returns: proto_utils, None