code: def alias(name: str, exist_ok: bool = True):
      def decorator(cls):
          if name in CustomObject.registry and not exist_ok:
              raise ValueError(
                  f"CustomObject `{name}` is already registered"
              )
          CustomObject.registry[name] = cls
          return cls
  
      return decorator
  
file_path: aim/aim/storage/object.py
imports: from typing import Dict
  from aim.storage.types import CustomObjectBase
  from aim.storage.inmemorytreeview import InMemoryTreeView
label_desc: Use image node_id 2 for calling the CustomObject obj's underlying member method code with example usage: obj.alias(name, exist_ok) and returns: decorator, cls