code: def is_criterion_test(test_instance):
      return isinstance(test_instance, common_nn.CriterionTest)
  
imports: from collections import namedtuple
  import unittest
  import os
  import warnings
  import shutil
  import torch
  import torch.utils.cpp_extension
  import torch.testing._internal.common_nn
  from torch.testing._internal.common_cuda import TEST_CUDA
label_desc: Use image node_id 11 for calling a global function with example usage: is_criterion_test(test_instance) and returns: isinstance