static boolean isVarKeyNode(BufferMgr bufferMgr, int bufferId) throws IOException {
		DataBuffer buf = bufferMgr.getBuffer(bufferId);
		try {
			int nodeType = getNodeType(buf);
			return nodeType == VARKEY_REC_NODE || nodeType == VARKEY_INTERIOR_NODE;
		}
		finally {
			bufferMgr.releaseBuffer(buf);
		}
	}
Perform a test of the specified buffer to determine if it is
a VarKeyNode type.  It is important that the specified buffer
not be in use.
@param bufferMgr buffer manager
@param bufferId buffer ID
@return true if node found and is a VarKeyNode type
@throws IOException thrown if an IO error occurs
Ghidra/Framework/DB/src/main/java/db/NodeMgr.java