code: def get_host(self, endpoint_or_address):
          
          if not isinstance(endpoint_or_address, EndPoint):
              return self._get_host_by_address(endpoint_or_address)
  
          return self._hosts.get(endpoint_or_address)
docs: Find a host in the metadata for a specific endpoint. If a string inet address is passed,
          iterate all hosts to match the :attr:`~.pool.Host.broadcast_rpc_address` attribute.