    def oauth_available(self):
        """Is OAuth available for this client?

        Returns True if a server is defined or any oauth config is provided explicitly
        """
        return bool(self.server is not None or self._oauth_specified)
Is OAuth available for this client?

Returns True if a server is defined or any oauth config is provided explicitly
jupyterhub/services/service.py