pub(crate) fn check( query: &str, query_ctx: QueryContextRef, _session: SessionRef, ) -> Option<Output>