func (fn FilterFunc) Match(adaptor Adaptor) bool {
	return fn(adaptor)
}
Match matches the FilterFunc returning true if the object matches the filter
package filters
import (
	"regexp"
	"github.com/containerd/containerd/log"
)
type Filter interface {
	Match(adaptor Adaptor) bool
}
type FilterFunc func(Adaptor) bool