Adapted from lme4:::reOnly
reOnly(f, response = FALSE)
f
formula
response
(FALSE) is there a response in the formula