code: function () {
              this.log("hasAttachmentWithContent");
              var i;
  
              if (this.attachments === null) {
                  return false;
              }
  
              for (i = 0; i < this.attachments.length; i += 1) {
                  if (this.attachments[i].content !== null) {
                      return true;
                  }
              }
  
              return false;
          }
docs: Checks if the Statement has at least one attachment with content
  
  @method hasAttachmentsWithContent