code: def _check_weight(module):
      try:
          return isinstance(module.weight.data, torch.Tensor)
      except AttributeError:
          return False
  
imports: import types
  import logging
  import torch
  from .None import default_layers
label_desc: Use image node_id 2 for calling a global function with example usage: _check_weight(module) and returns: isinstance, False