Yes it will be actually as by this point the SP has finished the SAML interaction and has sent the user back the application with a valid Shibboleth session.

This code will then establish an app session from the subsequent get via Warden.