* @return True if is of type.
*/
public static boolean validate(File unzippedDir) {
//with VFS FIXME:pb:c: remove casts to LocalFileImpl and LocalFolderImpl if no longer needed.
VFSContainer vfsUnzippedRoot = new LocalFolderImpl(unzippedDir);
VFSItem vfsQTI = vfsUnzippedRoot.resolve("qti.xml");
//getDocument(..) ensures that InputStream is closed in every case.
Document doc = QTIHelper.getDocument((LocalFileImpl) vfsQTI);
//if doc is null an error loading the document occured
if (doc == null) return false;
List metas = doc.selectNodes("questestinterop/assessment/qtimetadata/qtimetadatafield");