code: def _missing_value_check(df, dt_col, threshold=0):
      """
      This check is used to determine whether there are missing values in the data.
      """
      for column in df.columns:
          if column == dt_col:
              continue
          df_col = df[column]
          missing_value = df_col.isna().sum()  # na number
          rows = len(df)
          if missing_value / rows > threshold:
              logging.warning(
                  f"The missing value of column {column} exceeds {threshold},"
                  f"please call .impute() fisrt to remove N/A number manually, "
                  f"or set repair=True when initialize TSDataset."
              )
              return False
      return True
  
file_path: BigDL/python/chronos/src/bigdl/chronos/data/utils/quality_inspection.py
imports: import pandas
  import numpy
  from bigdl.nano.utils.common import invalidInputError
  import logging
label_desc: Use image node_id 6 for calling a global function with example usage: _missing_value_check(df, dt_col, threshold) and returns: True, False