code: @Override
      public void visit(final Attribute attribute) {
          if ("Restriction".equals(attribute.getString())
                  && "confidential".equals(attribute.getTail())) {
              isConfidential = true;
          }
      }
docs: Visit an Attribute. Certain Attributes contribute interest data.
  
  @see GedObjectVisitor#visit(Attribute)