def has_credentials(self):
    return self.credentials is not None and not self.credentials.invalid
True if for the logged in user there are valid access Credentials.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/google-api-python-client/oauth2client/appengine.py/OAuth2Decorator.has_credentials