code: def find_arg_of_type(it, t):
      for x in it:
          if isinstance(x, t):
              return x
      return None
  
imports: import itertools
  from typing import List, Tuple
  import torch
  import torch._prims_common
label_desc: Use image node_id 4 for calling a global function with example usage: find_arg_of_type(it, t) and returns: None, x