def is_mpijob_launcher_pod_ready(ctx, namespace, job_name):
    """Check if the MpiJob Launcher Pod is Ready
    Args:
        ctx: Context
        namespace: str
        job_name: str
    """

    pod_name = ctx.run(
        f"kubectl get pods -n {namespace} -l mpi_job_name={job_name},mpi_role_type=launcher -o name"
    ).stdout.strip("\n")
    if pod_name:
        return pod_name
    else:
        raise ValueError("Launcher pod is not ready yet, try again.")