protected void setHasUniqueID(boolean hasUniqueID) {
        this.hasUniqueID = hasUniqueID;
    }
Returns whether this item is of the same class and contains the same state as the given item.
container-search/src/main/java/com/yahoo/prelude/query/Item.java