public static boolean isSane(Game game, int nodeIndex, MOVE move){
		EnumMap<GHOST, int[]> ghostJunctionPaths = getGhostJunctionPaths(game);
		int[] myJunctionPath = getJunctionPath(game, nodeIndex, move);
		for (int i = 0; i < myJunctionPath.length; i++) {
			if (!reachableByGhost(game, myJunctionPath[i], i + EAT_DISTANCE, ghostJunctionPaths)) {
				int powerPillIndex = game.getPowerPillIndex(myJunctionPath[i]);
				if (powerPillIndex != -1 && game.isPowerPillStillAvailable(powerPillIndex)) {
					return true;
				}
			}
			else {
				return false;
			}
		}
		return true;
	}