docs: def maybe_start_recording(tokens, index):
          """Return a new _RSTCommentBlockRecorder when its time to record."""
          if tokens[index].type == TokenType.BeginRSTComment:
              return _RSTCommentBlockRecorder(index, tokens[index].line)
  
          return None