code: def argument_in_spec(fn: Any, arg: str) -> bool:
      from inspect import signature
  
      return arg in signature(fn).parameters
  
file_path: nni/nni/nas/profiler/pytorch/utils/misc.py
imports: from __future__ import annotations
  from typing import Any, Callable, TypeVar, Type
  from torch import nn
  from nni.nas.nn.pytorch import ParametrizedModule
label_desc: Use image node_id 5 for calling a global function with example usage: argument_in_spec(fn, arg) and returns: unknown