is.formula function

logical functions for formulas