If you don't want to require activesupport, you could do:

```ruby
>> def present?(i)
>>   i.respond_to?(:empty?) ? !i.empty? : i
>> end
>> present? nil
nil
```