private function isMulti($item)
    {
        if ( ! is_array($item)) return false;

        return is_array(head($item)) || head($item) instanceof Buyable;
    }
private function isMulti($item)
    {
        if ( ! is_array($item)) return false;

        return is_array(head($item)) || head($item) instanceof Buyable;
    }
private function isMulti ( $ item ) { if ( ! is_array ( $ item ) ) return false ; return is_array ( head ( $ item ) ) || head ( $ item ) instanceof Buyable ; }
Check if the item is a multidimensional array or an array of Buyables.

@param mixed $item
@return bool
Check if the item is a multidimensional array or an array of Buyables .