code: def has_started(self):
          
          # pylint: disable=protected-access
          timeout = False
          auth_in_progress = False
          if self._handler._connection.cbs:
              timeout, auth_in_progress = self._handler._auth.handle_token()
          if timeout:
              raise EventHubError("Authorization timeout.")
          if auth_in_progress:
              return False
          if not self._handler._client_ready():
              return False
          return True
docs: Whether the handler has completed all start up processes such as
          establishing the connection, session, link and authentication, and
          is not ready to process messages.
          **This function is now deprecated and will be removed in v2.0+.**
  
          :rtype: bool