A user has google, microsoft and github and when the user does login with google you want to check if the accounts in github and microsoft are still active?
To my knowledge there is not proper way of doing that. I guess one could try to use refresh tokens to call the userinfo endpoint to check if a response is given. But even then a 401 could also just mean that the session at the idp was closed.