docs: public static boolean isCompressed(byte[] bytes) throws IOException {
          return bytes != null && bytes.length >= 2 &&
                  bytes[0] == (byte) (GZIPInputStream.GZIP_MAGIC) && bytes[1] == (byte) (GZIPInputStream.GZIP_MAGIC >> 8);
      }