code: def all_peers_are_voters(peer_api_uris: [str]) -> bool:
      try:
          for uri in peer_api_uris:
              if not get_cluster_info(uri)["raft_info"]["is_voter"]:
                  return False
          return True
      except requests.exceptions.ConnectionError:
          return False
  
imports: import pathlib
  import requests
  from .utils import *
label_desc: Use image node_id 1 for calling a global function with example usage: all_peers_are_voters(peer_api_uris) and returns: True, False, False