This will fail for Boolean objects. Use `_.isBoolean(target)` instead.