add Flow.check method