code: def shorten_class_name(class_fullname: str) -> str:
      splitted = class_fullname.split(".")
      if len(splitted) == 1:
          return class_fullname
      top_module, *_, class_name = splitted
      if top_module == "albumentations":
          return class_name
      return class_fullname
  
imports: from __future__ import absolute_import
  import json
  import typing
  import warnings
  from abc import ABC, ABCMeta, abstractmethod
  from typing import IO, Any, Callable, Dict, Optional, Tuple, Type, Union
  from albumentations import __version__
label_desc: Use image node_id 1 for calling a global function with example usage: shorten_class_name(class_fullname) and returns: class_fullname, class_fullname, class_name