code: public Pipe asPipe() {
          return new FilterFunctionPipe(new PipeFunction<Vertex, Boolean>() {
              @Override
              public Boolean compute(Vertex vertex) {
                  return evaluate(new VertexWrapper(vertex, resourceDefinition));
              }
          });
      }
docs: todo: use 'has' instead of closure where possible for performance