public boolean
findRRset(Name name, int type, int section) {
	if (sections[section] == null)
		return false;
	for (int i = 0; i < sections[section].size(); i++) {
		Record r = (Record) sections[section].get(i);
		if (r.getType() == type && name.equals(r.getName()))
			return true;
	}
	return false;
}
Determines if an RRset with the given name and type is already
present in the given section.
@see RRset
@see Section
src/main/java/core/org/xbill/DNS/Message.java