code: def check_missing_values(check_input: np.ndarray, text: str):
      """Raise error if there are any missing values in Numpy array."""
  
      if np.isnan(check_input).any():
          raise ValueError(f"{text} cannot contain missing values.")
  
file_path: cleanlab/cleanlab/internal/regression_utils.py
imports: import numpy
  import pandas
  from numpy.typing import ArrayLike
  from typing import Tuple, Union
label_desc: Use image node_id 4 for calling a global function with example usage: check_missing_values(check_input, text) without return types