code: def assert_transforms(cfg):
      for transforms in [
          cfg.DATA.TRAIN.TRANSFORMS,
          cfg.DATA.TEST.TRANSFORMS,
      ]:
          for transform in transforms:
              if "transform_type" in transform:
                  assert transform["transform_type"] in [None, "augly"]
  
                  if transform["transform_type"] == "augly":
                      assert (
                          is_augly_available()
                      ), "Please pip install augly."
  
imports: import contextlib
  import copy
  import logging
  import math
  import os
  import pprint
  import re
  import sys
  from typing import Any, List, NamedTuple, Tuple
  import torch
  from hydra.core.override_parser.overrides_parser import OverridesParser
  from omegaconf import DictConfig, OmegaConf, open_dict
  from vissl.config import AttrDict, check_cfg_version
  from vissl.utils.io import save_file
  from vissl.utils.misc import is_augly_available
label_desc: Use image node_id 15 for calling a global function with example usage: assert_transforms(cfg) without return types