public boolean isCommand(String aString) {
        if (validCommands.containsKey(aString)) {
            return true;
        }
        // if we get here, the string was not found in the commands
        return false;
    }