class_docstr: This class tests the crypten.models package.
code: def _check_model(self, model_name, *args, **kwargs):
      crypten_model = getattr(crypten.models, model_name)(
          *args, **kwargs
      )
      torchvision_model = getattr(torchvision.models, model_name)(
          *args, **kwargs
      )
  
      self.assertTrue(
          isinstance(crypten_model, crypten.nn.Module),
          f"{model_name} crypten model is not a crypten.nn.Module",
      )
      self.assertTrue(
          isinstance(torchvision_model, torch.nn.Module),
          f"{model_name} torchvision model is not a torch.nn.Module",
      )
      msg = f"{model_name} failed"
  
      # Check Modules
      self._check_modules(crypten_model, torchvision_model, msg)
  
      # Check Parameters
      pretrained = kwargs.get("pretrained", False)
      self._check_parameters(
          crypten_model, torchvision_model, pretrained, msg
      )
  
      # Check encrypted
      crypten_model.encrypt()
      self._check_modules(crypten_model, torchvision_model, msg)
      self._check_parameters(
          crypten_model, torchvision_model, pretrained, msg
      )
  
imports: import unittest
  import crypten
  import torch
  import torchvision
  from test.multiprocess_test_case import MultiProcessTestCase
label_desc: Use image node_id 4 for calling the TestModels obj's underlying member method code with example usage: obj._check_model(model_name) without return types