code: def is_activation_post_process(module: _torch.nn.Module) -> bool:
      """
      Returns true if a module is an activation post process module.
      """
      return isinstance(module, _aoquant.FakeQuantizeBase)
  
imports: import operator
  from collections import defaultdict
  from enum import Enum
  from typing import Dict
  from typing import List
  from typing import Optional
  import torch
  import torch.ao.quantization
  import torch.fx
  from torch.ao.quantization.backend_config import BackendConfig
  from torch.ao.quantization.backend_config import ObservationType
  from coremltools.optimize.torch._utils.version_utils import is_torch_2
label_desc: Use image node_id 9 for calling a global function with example usage: is_activation_post_process(module) and returns: isinstance