private function isPartiallyItem($shippingItem, $includeDeliveryNoteStatus = false)
    {
        $item = $shippingItem->getItem();
        $sumShipped = $this->getSumOfShippedItemsByItemId($item->getId(), $includeDeliveryNoteStatus);
        $orderItem = $shippingItem->getShipping()->getOrder()->getItem($item->getId());
        // if all items are shipped (exclude current item)
        if ($sumShipped == $orderItem->getQuantity() - $shippingItem->getQuantity()) {
            return false;
        }
        return true;
    }