code: public boolean mediaIsGIF () {
          String contentType = this.getContentType();
          return contentType != null && this.media != null && contentType.equals("image/gif");
      }
docs: Method to check whether media in the {@link CTInboxMessageContent} object is an GIF.
  @return true if the media type is GIF
  false if the media type is not an GIF