class_docstr: Maintains a list of connections to replicas and uses round robin for selecting a replica
docstr: Checks if a connection for ip exists in the list
  :param address: The address to check
  :returns: True if a connection for the ip exists in the list
docstr_tok: ["Checks","if","a","connection","for","ip","exists","in","the","list",":","param","address",":","The","address","to","check",":","returns",":","True","if","a","connection","for","the","ip","exists","in","the","list"]
code: def has_connection(self, address: str) -> bool:
      """
      Checks if a connection for ip exists in the list
      :param address: The address to check
      :returns: True if a connection for the ip exists in the list
      """
      parsed_address = urlparse(address)
      resolved_address = (
          parsed_address.netloc if parsed_address.netloc else address
      )
      return resolved_address in self._address_to_connection_idx
  
file_path: jina/jina/serve/networking/replica_list.py
imports: from typing import TYPE_CHECKING, Any, Dict, Optional, Sequence, Union
  from urllib.parse import urlparse
  from grpc.aio import ClientInterceptor
  from jina.excepts import EstablishGrpcConnectionError
  from jina.serve.networking.connection_stub import create_async_channel_stub
  from jina.serve.networking.instrumentation import _NetworkingHistograms, _NetworkingMetrics
  from jina.serve.networking.utils import TLS_PROTOCOL_SCHEMES
label_desc: Use image node_id 5 for calling the _ReplicaList obj's underlying member method code with example usage: obj.has_connection(address) and returns: unknown