@property
    def has_auth(self):
        return bool(
            self.user_settings and self.user_settings.has_auth
        ) and bool(
            self.external_account and self.user_settings.verify_oauth_access(
                node=self.owner,
                external_account=self.external_account
            )
        )
Instance has an external account and *active* permission to use it
dataset/ETHPy150Open CenterForOpenScience/osf.io/website/addons/base/__init__.py/AddonOAuthNodeSettingsBase.has_auth