code: def _check_no_module_cls_in_model(self, module_cls, model):
      for module in model.modules():
          self.assertNotIsInstance(module, module_cls)
  
imports: import copy
  import logging
  import unittest
  import torch
  import torch.nn
  from classy_vision.generic.util import get_torch_version
  from classy_vision.models import build_model, RegNet
  from parameterized import parameterized
label_desc: Use image node_id 3 for calling the TestRegNet obj's underlying member method code with example usage: obj._check_no_module_cls_in_model(module_cls, model) without return types