code: function commentsExistBetween(left, right) {
              return sourceCode.getFirstTokenBetween(
                  left,
                  right,
                  {
                      includeComments: true,
                      filter: astUtils.isCommentToken
                  }
              ) !== null;
          }
docs: Check whether comments exist between the given 2 tokens.
  @param {Token} left The left token to check.
  @param {Token} right The right token to check.
  @returns {boolean} `true` if comments exist between the given 2 tokens.