code: def _evaluate_intensities_range(intensities_range):
      if np.sum(np.diff(intensities_range)) == 0:
          raise ValueError(
              "Your data does not have any contrast. Please, check the "
              "value range of your data."
          )
  
imports: import warnings
  import numpy
  from scipy import stats
  from dipy.utils.optpkg import optional_package
label_desc: Use image node_id 1 for calling a global function with example usage: _evaluate_intensities_range(intensities_range) without return types