code: private DeferredComparison compareAttributeExplicitness(final Attr control,
                                                              final XPathContext controlContext,
                                                              final Attr test,
                                                              final XPathContext testContext) {
          return new DeferredComparison() {
              @Override
              public ComparisonState apply() {
                  return compare(new Comparison(ComparisonType.ATTR_VALUE_EXPLICITLY_SPECIFIED,
                                                control, getXPath(controlContext),
                                                control.getSpecified(), getParentXPath(controlContext),
                                                test, getXPath(testContext),
                                                test.getSpecified(), getParentXPath(testContext)));
              }
          };
      }
docs: Compares whether two attributes are specified explicitly.