function : IsEmptyDirectory(dir : String) ~ Bool { return Directory->List(dir)->Size() = 0; }