boolean public static \Bitrix\Crm\Category\DealCategory::exists( integer $ID );
Method checks, for existing Pipeline. Static method.