appMultipleClient is null when accountMode is SINGLE. When getAccounts() was called in SINGLE mode the app throws:
java.lang.NullPointerException: Attempt to invoke interface method 'java.util.List com.microsoft.identity.client.IMultipleAccountPublicClientApplication.getAccounts()' on a null object reference.
found boolean is used within the loop to alert the user the requested account was not found in scope, so it can be instantiated only when appMultipleClient is a valid object
appMultipleClient is null when accountMode is SINGLE. When getAccounts() was called in SINGLE mode the app throws: java.lang.NullPointerException: Attempt to invoke interface method 'java.util.List com.microsoft.identity.client.IMultipleAccountPublicClientApplication.getAccounts()' on a null object reference. found boolean is used within the loop to alert the user the requested account was not found in scope, so it can be instantiated only when appMultipleClient is a valid object