public boolean dialogueModelsCached(int gender) {
		int head = maleDialogue;
		int hat = maleHat;
		if (gender == 1) {
			head = femaleDialogue;
			hat = femaleHat;
		}
		if (head == -1) {
			return true;
		}
		boolean flag = true;
		if (!Model.isCached(head)) {
			flag = false;
		}
		if (hat != -1 && !Model.isCached(hat)) {
			flag = false;
		}
		return flag;
	}