code: def is_complex_or_complex_tensor(x):
      return _dtype_for_scalar_or_tensor(x).is_complex
  
file_path: pytorch/torch/_numpy/_dtypes_impl.py
imports: from collections import namedtuple
  import torch
  from .None import _casting_dicts
label_desc: Use image node_id 11 for calling a global function with example usage: is_complex_or_complex_tensor(x) and returns: _dtype_for_scalar_or_tensor