code: public <E> Predicate<E> toEntityPredicate(EntityAccessor<E> accessor) {
      return entityPredicate(constraints, schema, accessor, strategy);
    }
docs: Get a {@link Predicate} for testing entity objects.
  
  @param <E> The type of entities to be matched
  @return a Predicate to test if entity objects satisfy this constraint set