code: def is_norm(modules):
      """Check if is one of the norms."""
      if isinstance(modules, (GroupNorm, _BatchNorm)):
          return True
      return False
  
file_path: mmdetection/tests/test_models/test_backbones/utils.py
imports: from torch.nn.modules import GroupNorm
  from torch.nn.modules.batchnorm import _BatchNorm
  from mmdet.models.backbones.res2net import Bottle2neck
  from mmdet.models.backbones.resnet import BasicBlock, Bottleneck
  from mmdet.models.backbones.resnext import Bottleneck
  from mmdet.models.layers import SimplifiedBasicBlock
label_desc: Use image node_id 2 for calling a global function with example usage: is_norm(modules) and returns: False, True