public boolean equals(Object o) {
        if (o instanceof MimeType) {
            MimeType that = (MimeType) o;
            return this.type.equals(that.type);
        }

        return false;
    }
whether the type is used as a server-side scripting technology
tika-core/src/main/java/org/apache/tika/mime/MimeType.java