code: def requires_grad(model, layer):
      return list(model.parameters())[layer].requires_grad
  
file_path: icevision/icevision/utils/torch_utils.py
imports: from icevision.imports import *
label_desc: Use image node_id 3 for calling a global function with example usage: requires_grad(model, layer) and returns: list