boolean public static \Bitrix\Crm\Activity\CustomType::hasDependencies( integer $ID );
Method checks for existing activities with dependencies to specified type ID. Static method.