public boolean isAppSegment() {
            return marker >= JpegConstants.JPEG_APP0_MARKER && marker <= JpegConstants.JPEG_APP15_MARKER;
        }
Interface for Exif write/update/remove functionality for Jpeg/JFIF images.
src/main/java/org/apache/commons/imaging/formats/jpeg/xmp/JpegRewriter.java