code: def _get_input_transform(model: Model) -> Optional[InputTransform]:
      """get input transform if defined"""
      try:
          return model.input_transform
      except AttributeError:
          return None
  
file_path: botorch/botorch/acquisition/proximal.py
imports: from __future__ import annotations
  from typing import Optional
  import torch
  from botorch.acquisition import AcquisitionFunction
  from botorch.exceptions.errors import UnsupportedError
  from botorch.models import ModelListGP
  from botorch.models.gpytorch import BatchedMultiOutputGPyTorchModel
  from botorch.models.model import Model
  from botorch.models.transforms.input import InputTransform
  from botorch.utils import t_batch_mode_transform
  from torch import Tensor
  from torch.nn import Module
label_desc: Use image node_id 2 for calling a global function with example usage: _get_input_transform(model) and returns: model, None