code: def maybe_get_next_module(
      node: Node,
      modules: Dict[str, nn.Module],
      target_module_type: Optional[Type[nn.Module]] = None,
      target_functional_type: Any = None,
  ) -> Optional[Node]:
      """Gets the next module that matches what is needed in
      is_target_module_type if it exists
  
      Args:
          node: The node whose users we want to look at
          target_module_type: Module type that we want to check
          target_functional_type: Functional type that we want to check
      """
  
      for user in node.users.keys():
          if (
              user.op == "call_module"
              and target_module_type is not None
              and isinstance(
                  modules[str(user.target)], target_module_type
              )
          ):
              return user
          elif (
              user.op == "call_function"
              and target_functional_type is not None
              and user.target == target_functional_type
          ):
              return user
  
      return None
  
imports: import copy
  import torch
  import torch.nn
  from torch.ao.quantization import QConfigAny, QuantType
  from torch.ao.quantization.backend_config import DTypeWithConstraints
  from torch.ao.quantization.fake_quantize import FakeQuantizeBase, FixedQParamsFakeQuantize
  from torch.ao.quantization.observer import FixedQParamsObserver, ObserverBase
  from torch.ao.quantization.qconfig import float16_static_qconfig, float16_dynamic_qconfig, qconfig_equals
  from torch.ao.quantization.stubs import DeQuantStub
  from torch.ao.quantization.utils import activation_is_statically_quantized
  from torch.ao.quantization.observer import _is_activation_post_process
  from torch.ao.quantization.qconfig_mapping import QConfigMapping
  from torch.fx import GraphModule, map_arg
  from torch.fx.graph import Graph, Node
  from .custom_config import PrepareCustomConfig
  from ._decomposed import quantized_decomposed_lib
  from typing import Callable, Optional, List, Dict, Any, Set, Tuple, Union, Type
  from dataclasses import dataclass
  from collections import namedtuple
  import operator
  import warnings
label_desc: Use image node_id 15 for calling a global function with example usage: maybe_get_next_module(node, modules, target_module_type, target_functional_type) and returns: None, user, user