isPreviewComment = (inputs, comment) => {
  return (
    (inputs.commentAuthor && comment.user
      ? comment.user.login === inputs.commentAuthor
      : true) &&
    (inputs.bodyIncludes && comment.body
      ? comment.body.includes(inputs.bodyIncludes)
      : true)
  );
}
Returns whether the comment is a preview comment.

@param {Object} inputs Action inputs.
@param {Object} comment Comment object.
@returns {boolean} Whether the comment is a preview comment.