code: def warn_noise_zero(noise: float) -> None:
      """
      Warn if noise is zero.
  
      Parameters
      ----------
      noise: float
          The amount of noise.
  
      Returns
      -------
      None
      """
      if noise == 0.0:
          print(
              f"Noise is set to {noise:.2f} which is likely to invalidate the evaluation outcome of the test"
              f" given that it depends on perturbation of input(s)/ attribution(s). "
              f"\n Recommended to re-parameterise the metric."
          )
  
file_path: Quantus/quantus/helpers/warn.py
imports: import time
  import warnings
  import numpy
  from quantus.helpers.utils import get_name
label_desc: Use image node_id 2 for calling a global function with example usage: warn_noise_zero(noise) without return types