Android Google Sign In: check if User is signed in
<p>I am looking for a way to check if my user already signed in with Google Sign In.</p>

<p>I support several logging APIs (Facebook, Google, custom), so I would like to build a static helper method like:
 <code>User.isUserLoggedIn()</code></p>

<p>With Facebook I use: </p>

<pre><code>if AccessToken.getCurrentAccessToken() != null { 
   return true
} 
</code></pre>

<p>to check if the user is logged via Facebook.</p>

<p>On iOS I use the following to check if the user is logged via Google Sign In:</p>

<pre><code>GIDSignIn.sharedInstance().hasAuthInKeychain()
</code></pre>

<p><strong>My question:
Is there an equivalent on Android to the iOS method :</strong> </p>

<p><code>GIDSignIn.sharedInstance().hasAuthInKeychain()</code> ?</p>

<p>I am looking for a method that doesn’t involve a callback. </p>

<p>Thanks!
Max</p>