DRY using String#empty?