• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/product/catalog.php
  • Класс: Bitrix\Crm\Product\Catalog
  • Вызов: Catalog::isExists
static function isExists(int $catalogId): bool
	{
		$iterator = Iblock\IblockTable::getList([
			'select' => ['ID'],
			'filter' => ['=ID' => $catalogId]
		]);
		$row = $iterator->fetch();
		unset($iterator);
		return (!empty($row));
	}