I\'m attempting to return a boolean from the following function. app.loginAsync returns another object, and is not mine so I cannot change it. Is there a way that I can do this?