Ctx.state not populated in strapi V4 middleware

But here the specific action will already be performed by the time state is populated.
Is there a way to know the state before we go for “await next()”