docs: public boolean mediaIsImage() {
          String contentType = this.getContentType();
          return contentType != null && this.media != null && contentType.startsWith("image") && !contentType.equals("image/gif");
      }