Checks if a task with the given URL is currently downloading.
bool isUrlDownloading(String url) { return activeTasks.where((task) => task.uri.toString() == url).isNotEmpty; }