code: def processes_heterogeneous_graphs(cls: str) -> bool:
      if "hetero" in cls.lower():
          return True
      cls = importlib.import_module("torch_geometric.nn.conv").__dict__[
          cls
      ]
      signature = inspect.signature(cls.forward)
      return "edge_index_dict" in str(signature) or "edge_type" in str(
          signature
      )
  
file_path: pytorch_geometric/torch_geometric/nn/conv/utils/cheatsheet.py
imports: import importlib
  import inspect
  import re
  from typing import Optional
label_desc: Use image node_id 9 for calling a global function with example usage: processes_heterogeneous_graphs(cls) and returns: unknown, True