```ruby
def item
  @item ||=  sdk_class_for(item_type).find(item_id)
end

def collection
  item.is_a?(Collection) ? item : raise SomeError.new("Item is not a collection. It is a #{item.class.name}")
end
```