Rails-inspired helper that checks if vector values are "empty",
i.e. if it's: NULL, zero-length, NA, NaN,
FALSE, an empty string or 0.
Note that unlike its native R is.<something> sibling functions,
is.empty is vectorised (hence the "values").
is.empty(x, trim = TRUE, all = FALSE, ...)an object to check its emptiness
trim whitespace? (TRUE by default)
return overall result over list/vector instead of vector of
results? is.empty(x, all = TRUE) is the same like
all(unlist(is.empty(x)))
additional arguments for sapply