code: def _check_bn_apply(module, flag):
      if issubclass(
          module.__class__, torch.nn.modules.batchnorm._BatchNorm
      ):
          flag[0] = True
  
imports: from collections import defaultdict
  from torch.optim.optimizer import Optimizer
  import torch
  import warnings
label_desc: Use image node_id 1 for calling a global function with example usage: _check_bn_apply(module, flag) without return types