code: def is_already_exist_error(error):
      """Check if the error indicates resource already exists
  
      Args:
          error (dict): The "Error" field in the response of the
              `botocore.exceptions.ClientError`
      """
      return (
          error["Code"] == "ValidationException"
          and "already exists" in error["Message"]
      )
  
imports: from __future__ import absolute_import
  import logging
  import os
  import mimetypes
  import urllib
  from functools import wraps
  from typing import Optional
  from sagemaker import Session
  from sagemaker.apiutils import _utils
  from sagemaker.experiments._environment import _RunEnvironment, _EnvironmentType
  from sagemaker.experiments.trial_component import _TrialComponent
  from sagemaker.utilities.search_expression import Filter, Operator, SearchExpression
  from sagemaker.utils import retry_with_backoff
label_desc: Use image node_id 5 for calling a global function with example usage: is_already_exist_error(error) and returns: unknown