code: def _check_is_script_module(model):
      if not isinstance(model, torch.jit.ScriptModule):
          raise ValueError(
              "input must be a script module, got: " + str(type(model))
          )
  
imports: import torch
  from torch.ao.quantization.qconfig import QConfig
  from torch.ao.quantization.quant_type import QuantType
  from torch.jit._recursive import wrap_cpp_module
label_desc: Use image node_id 1 for calling a global function with example usage: _check_is_script_module(model) without return types