/** * Validate a given manifest. * * @param manifest The given manifest * @return True if the manifest is valid */ public static boolean isValidManifest(Manifest manifest) { if (manifest == null) return false; try { validateManifest(manifest); return true; } catch (RuntimeException e) { return false; } }