private boolean notInCommands(String index) {
        for (IndexCommand command : commands) {
            if (command.index().equals(index)) {
                return false;
            }
        }
        return true;
    }
Returns whether a particular command is prsent in this index info
config-model/src/main/java/com/yahoo/schema/derived/IndexInfo.java