public boolean usesPalette() {
        return usesPalette;
    }
Returns true if the image uses a palette.

@return {@code true} if the image uses a palette, {@code false} otherwise.
src/main/java/org/apache/commons/imaging/ImageInfo.java