code: def _check_empty_data(arg_name: str, arg_values: Any) -> None:
      if isinstance(
          arg_values, (List, np.ndarray, pd.Series, pd.DataFrame)
      ):
          if len(arg_values) == 0:
              raise ValueError(
                  f"Error: {arg_name} is an empty list, numpy array, pandas series, or dataframe"
              )
  
file_path: FinQuant/finquant/type_utilities.py
imports: import datetime
  from typing import Any, Callable, Dict, List, Optional, Tuple, Type, Union
  import numpy
  import pandas
label_desc: Use image node_id 3 for calling a global function with example usage: _check_empty_data(arg_name, arg_values) without return types