code: def any_requires_grad(inputs: List[Tensor]) -> bool:
      for tensor in inputs:
          if tensor.requires_grad:
              return True
  
      return False
  
imports: import re
  from typing import Any, List, Tuple
  from collections import OrderedDict
  import torch
  import torch.nn
  import torch.nn.functional
  import torch.utils.checkpoint
  from torch import Tensor
label_desc: Use image node_id 3 for calling the _DenseLayer obj's underlying member method code with example usage: obj.any_requires_grad(inputs) and returns: False, True