code: def is_valid_uuid(uuid_to_test, version=4):
      """
      Check if uuid_to_test is a valid UUID.
  
      Parameters
      ----------
      uuid_to_test : str
      version : {1, 2, 3, 4}
  
      Returns
      -------
      `True` if uuid_to_test is a valid UUID, otherwise `False`.
  
      Examples
      --------
      >>> is_valid_uuid('c9bf9e57-1685-4c89-bafb-ff5af830be8a')
      True
      >>> is_valid_uuid('c9bf9e58')
      False
      """
      try:
          uuid_obj = UUID(uuid_to_test, version=version).hex
      except:
          return False
  
      return str(uuid_obj) == uuid_to_test
  
file_path: catalyst/catalyst/utils/remote_utils.py
imports: import base64
  import pickle
  import zlib
  from uuid import UUID
  import pandas
  from logbook import Logger
label_desc: Use image node_id 6 for calling a global function with example usage: is_valid_uuid(uuid_to_test, version) and returns: unknown, False