Would there ever be a case where `typeof user[keys[i]]` is a function? If not, the check should be removed. If so, we should use _.isFunction instead.