わけだ — is this the 'no wonder' pattern people talk about?

彼、10年間アメリカに住んでたんだ。—— どうりで英語が上手なわけだ。 Trying to confirm わけだ here means 'that explains it / no wonder', as a natural conclusion from new info, not an obligation or plan.
Post
沐學 Mizuru