public Boolean IsModInstalled(String mod) {
		boolean foundit=false;
		
		File file = new File(McLauncher.modPath);
		String[] mods = file.list(new FilenameFilter() {
			  @Override
			  public boolean accept(File current, String name) {
				  File mfile = new File(current, name);
				  if(name.endsWith(".zip") || mfile.isDirectory())
			    return true;
				  else return false;
			  }
			});
		for(int i=0; i<mods.length; i++){
			String str = mods[i].replace(".zip","");
			if(remVer(str.substring(str.lastIndexOf('/') + 1)).equals(mod)){ //if the mod name is found
				return true;
			}
		}
		if(foundit){
			
			return true;
		}
		return false;
	}