public boolean equals(Object object) {
            if (!(object instanceof IndexCommand other)) {
                return false;
            }

            return other.index.equals(this.index) &&
                    other.command.equals(this.command);
        }
Returns true if this is the null command (do nothing)
config-model/src/main/java/com/yahoo/schema/derived/IndexInfo.java