checks the class of the input data.frame, makes sure that
the specified 'df' is indeed a data.frame and more over,
there is no column with class 'character' or 'ordered' in the
data.frame. this function helps you ensure that your data is
compatible with h2o R package.