private static boolean isElectionOptionId(String str, int numberOfElectionOptions)
	{
		int electionOptionId;
		if(isNumber(str)) {
			electionOptionId = Integer.parseInt(str);
		} else {
			return false;
		}
		return  0 <= electionOptionId && electionOptionId < numberOfElectionOptions;
	}