code: def is_global_pooling_op(
      module: Module, op: str, target: str
  ) -> bool:
      from torch_geometric.nn import Aggregation
  
      if op == "call_module":
          return isinstance(get_submodule(module, target), Aggregation)
      return False
  
imports: import copy
  import warnings
  from typing import Any, Dict, Optional
  import torch
  from torch.nn import Module, ModuleDict, ModuleList, Sequential
label_desc: Use image node_id 4 for calling a global function with example usage: is_global_pooling_op(module, op, target) and returns: False, isinstance