public boolean canTurnInCards(int index1, int index2, int index3) {
	
		condition = false;
		
		if (hand.size() >= 3) {
			if (hand.get(index1).getType().equals(hand.get(index2).getType()) && hand.get(index1).getType().equals(hand.get(index3).getType())) {
			//If all three cards have the same type
				condition = true;
				
			} else if (
				!hand.get(index1).getType().equals(hand.get(index2).getType()) && !hand.get(index1).getType().equals(hand.get(index3).getType()) && !hand.get(index2).getType().equals(hand.get(index3).getType())) {
			//If all three cards have different types
				condition = true;
			}
		}
		return condition;
	}