Sync/StorageManager/MysqlStorageManager.php
public function isShopValid($shopId)
    {
        $shops = $this->getContainer()->getParameter('ongr_connections.shops');
        foreach ($shops as $meta) {
            if ($meta['shop_id'] === $shopId) {
                return true;
            }
        }

        return false;
    }
public function isShopValid($shopId)
    {
        $shops = $this->getContainer()->getParameter('ongr_connections.shops');
        foreach ($shops as $meta) {
            if ($meta['shop_id'] === $shopId) {
                return true;
            }
        }

        return false;
    }
public function isShopValid ( $ shopId ) { $ shops = $ this -> getContainer ( ) -> getParameter ( 'ongr_connections.shops' ) ; foreach ( $ shops as $ meta ) { if ( $ meta [ 'shop_id' ] === $ shopId ) { return true ; } } return false ; }
Checks whether shop exists.

@param string $shopId

@return bool
Checks whether shop exists .