Line 328-9 just checks that a soltiude seller account exists at all for the logged in user. You could have one for a completely different app. The above explicitly checks it matches for that app.