code: def is_scalar_or_symbolic(x):
      return isinstance(x, _SCALAR_AND_SYMBOLIC_TYPES)
  
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 7 for calling a global function with example usage: is_scalar_or_symbolic(x) and returns: isinstance