boolean public static \Bitrix\ABTest\Helper::stopTest( integer $id, boolean $auto = false );
Static method stops A/B testing.