See https://stackoverflow.com/questions/50504386/check-that-model-has-only-one-factor-covariate/50514499#50514499
one_factor(object)
model.
Returns TRUE if model has a single factor covariate, FALSE otherwise.