I think `_.isFunction()` is safer and expresses intent of the condition more clearly