Model/ArticleToExpressCheckoutValidator.php
protected function isSameItemInBasket()
    {
        $basketContents = $this->getBasket()->getContents();
        foreach ($basketContents as $basketItem) {
            if ($this->isArticleParamsEqual($basketItem)) {
                return true;
            }
        }

        return false;
    }
protected function isSameItemInBasket()
    {
        $basketContents = $this->getBasket()->getContents();
        foreach ($basketContents as $basketItem) {
            if ($this->isArticleParamsEqual($basketItem)) {
                return true;
            }
        }

        return false;
    }
protected function isSameItemInBasket ( ) { $ basketContents = $ this -> getBasket ( ) -> getContents ( ) ; foreach ( $ basketContents as $ basketItem ) { if ( $ this -> isArticleParamsEqual ( $ basketItem ) ) { return true ; } } return false ; }
Check if same article is in basket.

@return bool
Check if same article is in basket .