private static bool CheckSubFolder(Node root, int level)
{
if (root.Status != LoadingStatus.DONE) {
return false;
}
--level;
if (level > 0) {
foreach (Node child in root.Children) {
if (!CheckSubFolder (child, level - 1)) {
return false;
}
}
}
return true;
}