has.vars function

tests data.frame for column names