code: public boolean process(Trace trace, Node node, Direction direction,
              Map<String, ?> headers, Object[] values) {
  
          if (predicate != null) {
              return predicate.test(trace, node, direction, headers, values);
          }
  
          return true;
      }
docs: This method processes the supplied information to extract the relevant
  details.
  
  @param trace The trace
  @param node The node
  @param direction The direction
  @param headers The optional headers
  @param values The values
  @return Whether the data was processed