private boolean checkCommand() {
		try {
			CommandScanner commandscanner = new CommandScanner(
					StockGameCommandType.values(), descriptor);
			BufferedReader reader = new BufferedReader(new StringReader(commandstring));
			commandscanner.checkCommandSyntax(reader);
			return true;
		} catch (WrongCommandException e) {
			// shellwriter.println("Invalid Command");
			// shellwriter.flush();
			return false;
		} catch (IOException e) {
			// shellwriter.println("IO Exception failure !");
			// shellwriter.flush();
			return false;
		}
	}