private boolean hasOpenBatch(List<Batch> batches, int userId) {
		boolean result = false;
		for (int i = 0; i < batches.size(); i++) {
			if (batches.get(i).getAccessUserId() == userId) {
				result = true;
			}
		}
		return result;
	}