code: def _check_conflicting_means(
      means_noiseless: np.ndarray,
      metric_name: str,
      conflicting_noiseless: str,
  ) -> None:
      if np.var(means_noiseless) > 0:
          message = (
              f"Conflicting noiseless measurements for {metric_name}."
          )
          if conflicting_noiseless == "warn":
              logger.warning(message)
          elif conflicting_noiseless == "raise":
              raise ValueError(message)
  
file_path: Ax/ax/modelbridge/transforms/ivw.py
imports: from logging import Logger
  from typing import Dict, List
  import numpy
  from ax.core.observation import ObservationData
  from ax.modelbridge.transforms.base import Transform
  from ax.utils.common.logger import get_logger
label_desc: Use image node_id 2 for calling a global function with example usage: _check_conflicting_means(means_noiseless, metric_name, conflicting_noiseless) without return types