code: public boolean containsCursor(long cursorId) {
      if (cursorId < getData().firstCursorIndex) {
        return false;
      }
      return cursorId < (getData().firstCursorIndex + getData().cursorCount);
    }
docs: Contains cursor boolean.
  
  @param cursorId the cursor id
  @return the boolean