protected function isManagedStock(Mage_CatalogInventory_Model_Stock_Item $stock)
    {
        return (
            ($this->_config->isBackorderable || (int) $stock->getBackorders() === Mage_CatalogInventory_Model_Stock::BACKORDERS_NO)
            && $stock->getManageStock() > 0
        );
    }