code: def register_transform(name):
      """Transform register that can be used to add new transform class."""
  
      def register_transfrom_cls(cls):
          if name in AVAILABLE_TRANSFORMS:
              raise ValueError(
                  "Cannot register duplicate transform ({})".format(
                      name
                  )
              )
          if not issubclass(cls, Transform):
              raise ValueError(
                  "transform ({}: {}) must extend Transform".format(
                      name, cls.__name__
                  )
              )
          AVAILABLE_TRANSFORMS[name] = cls
          return cls
  
      return register_transfrom_cls
  
imports: import os
  import importlib
  from .transform import make_transforms, get_specials, save_transforms, load_transforms, TransformPipe, Transform
label_desc: Use image node_id 2 for calling a global function with example usage: register_transform(name) and returns: register_transfrom_cls, cls