code: def auth_test(self) -> bool:
      resp = self.s.post(
          self._url("/auth/test"),
          data={"api_key": self.api_key, "api_token": self.api_token},
      )
      resp.raise_for_status()
      return resp.json()["success"]
  
file_path: dstack/src/dstack/_internal/core/backends/tensordock/api_client.py
imports: import uuid
  import requests
  import yaml
  from dstack._internal.core.models.instances import InstanceType
  from dstack._internal.utils.logging import get_logger
label_desc: Use image node_id 2 for calling the TensorDockAPIClient obj's underlying member method code with example usage: obj.auth_test() and returns: resp