code: public final Predicate<Object> asPredicate() {
  
          return new Predicate<Object>() {
  
              @Override
              public boolean apply(@Nullable final Object object) {
                  Preconditions.checkNotNull(object);
                  return evalBoolean(object);
              }
  
          };
      }
docs: Returns a predicate view of this {@code XPath} expression that accept an object input. If
  this {@code XPath} is lenient, evaluation of the predicate will return false on failure,
  rather than throwing an {@link IllegalArgumentException}.
  
  @return the requested predicate view