@Override
	public boolean hasBookmarks(String type) {
		lock.acquire();
		try {
			BookmarkType bmt = getBookmarkType(type);
			if (bmt == null) {
				return false;
			}
			return bmt.hasBookmarks();
		}
		finally {
			lock.release();
		}
	}
Get bookmark record (used by Bookmark.refresh() method)
@param id bookmark ID
@return bookmark record
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/program/database/bookmark/BookmarkDBManager.java