class LookupResult {

    boolean allPresent() {
        for (Integer flags : templates.values()) {
            if (flags != ALL_PRESENT) {
                return false;
            }
        }
        return true;
    }

      LookupResult(Set<AddressTemplate> templates);

}