public boolean check(String attempt, String wordtype, boolean testtype){
		if (testtype){
			if (!wordtype.equals(type)){
				return false;
			}
		}
		if (attempt != null){
			if (attempt == "") {
				return false;
			}
			if (attempt.equals(romaji) || attempt.equals(kana) || attempt.equals(kanji)){
				return true;
			}else{
				return false;
			}
		}else{
			return false;
		}
	}