single_variable_df_check function

Function to check if a single variable data frame is valid