code: def instantiate_nonserializable(
      transform: Dict[str, Any],
      nonserializable: Optional[Dict[str, Any]] = None,
  ) -> Optional[Serializable]:
      if (
          transform.get("__class_fullname__")
          in NON_SERIALIZABLE_REGISTRY
      ):
          name = transform["__name__"]
          if nonserializable is None:
              raise ValueError(
                  "To deserialize a non-serializable transform with name {name} you need to pass a dict with"
                  "this transform as the `lambda_transforms` argument".format(
                      name=name
                  )
              )
          result_transform = nonserializable.get(name)
          if transform is None:
              raise ValueError(
                  "Non-serializable transform with {name} was not found in `nonserializable`".format(
                      name=name
                  )
              )
          return result_transform
      return None
  
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 4 for calling a global function with example usage: instantiate_nonserializable(transform, nonserializable) and returns: None, result_transform