code: def write_block_matrices(
      bms: List[BlockMatrix],
      path_prefix: str,
      overwrite: bool = False,
      force_row_major: bool = False,
      stage_locally: bool = False,
  ):
      """Writes a sequence of block matrices to disk in the same format as BlockMatrix.write.
  
      :param bms: :obj:`list` of :class:`BlockMatrix`
          Block matrices to write to disk.
      :param path_prefix: obj:`str`
          Prefix of path to write the block matrices to.
      :param overwrite: obj:`bool`
          If true, overwrite any files with the same name as the block matrices being generated.
      :param force_row_major: obj:`bool`
          If ``True``, transform blocks in column-major format
          to row-major format before writing.
          If ``False``, write blocks in their current format.
      :param stage_locally: :obj:`bool`
          If ``True``, major output will be written to temporary local storage
          before being copied to ``output``.
      """
      writer = BlockMatrixNativeMultiWriter(
          path_prefix, overwrite, force_row_major, stage_locally
      )
      Env.backend().execute(
          BlockMatrixMultiWrite([bm._bmir for bm in bms], writer)
      )
  
file_path: hail/hail/python/hail/experimental/write_multiple.py
imports: from typing import List, Optional
  from hail import MatrixTable
  from hail.linalg import BlockMatrix
  from hail.ir import MatrixMultiWrite, MatrixNativeMultiWriter, BlockMatrixMultiWrite, BlockMatrixBinaryMultiWriter, BlockMatrixTextMultiWriter, BlockMatrixNativeMultiWriter
  from hail.typecheck import nullable, sequenceof, typecheck, enumeration
  from hail.utils.java import Env
label_desc: Use image node_id 4 for calling a global function with example usage: write_block_matrices(bms, path_prefix, overwrite, force_row_major, stage_locally) without return types