private static boolean isStraight(Card[] cards) {
		//Check for the 5 high special case (Where ace plays as 1 rather than 14).
		if(cards[0].getValue()==2 && cards[1].getValue() == 3 && cards[2].getValue() == 4 && cards[3].getValue() == 5 && cards[4].getValue() == 14){
			return true;
		}
		//Consider every other case.
		int i = cards[0].getValue();
		for (int j = 1; j < cards.length; j++) {
			i++;
			if(cards[j].getValue() != i){
				return false;
			}
		}
		return true;
	}