code: def available():
      try:
          socket.getaddrinfo("metadata.google.internal", 80)
      except socket.gaierror:
          return False
      return True
  
imports: from typing import Dict, Optional, Union, List, Literal, ClassVar, overload, Tuple
  import os
  import json
  import time
  import logging
  import socket
  from urllib.parse import urlencode
  import jwt
  from hailtop.utils import first_extant_file, retry_transient_errors
  from hailtop import httpx
  from ..common.credentials import AnonymousCloudCredentials, CloudCredentials
label_desc: Use image node_id 1 for calling the GoogleInstanceMetadataCredentials obj's underlying member method code with example usage: obj.available() and returns: True, False