code: def lookup_object(bucket_name, object_name):
      """Lookup an object by name in the global collection.
  
      :param bucket_name:str the name of the Bucket that contains the object.
      :param object_name:str the name of the Object.
      :return: tuple the object path and the object.
      :rtype: (str,GcsObject)
      :raises:ErrorResponse if the object is not found.
      """
      object_path, gcs_object = get_object(
          bucket_name, object_name, None
      )
      if gcs_object is None:
          raise error_response.ErrorResponse(
              f"Object {object_name} in {bucket_name} not found",
              status_code=404,
          )
      return object_path, gcs_object
  
imports: import base64
  import error_response
  import hashlib
  import json
  import random
  import re
label_desc: Use image node_id 12 for calling a global function with example usage: lookup_object(bucket_name, object_name) and returns: object_path,  gcs_object