def METHOD_NAME() -> None:
    args = get_parser().parse_args()
    if args.smartstack_readiness_check_enabled:
        smartstack_ready = is_smartstack_ready(
            synapse_host=synapse_host,
            synapse_port=synapse_port,
            synapse_haproxy_url_format=synapse_haproxy_url_format,
            services=args.services,
            host_ip=pod_ip,
            host_port=args.pod_port,
        )
    else:
        smartstack_ready = True
    if args.envoy_readiness_check_enabled:
        if args.envoy_check_mode == "admin-port":
            envoy_ready = is_envoy_ready(
                envoy_host=envoy_host,
                envoy_admin_port=envoy_admin_port,
                envoy_admin_endpoint_format=envoy_admin_endpoint_format,
                registrations=args.services,
                pod_ip=pod_ip,
                pod_port=args.pod_port,
            )
        elif args.envoy_check_mode == "eds-dir":
            envoy_ready = are_namespaces_up_in_eds(
                envoy_eds_path=envoy_eds_path,
                namespaces=args.services,
                pod_ip=pod_ip,
                pod_port=args.pod_port,
            )
    else:
        envoy_ready = True
    if smartstack_ready and envoy_ready:
        sys.exit(0)
    else:
        if not smartstack_ready:
            print(
                f"Could not find backend {pod_ip}:{args.pod_port} for service {args.services} "
                f"on Haproxy at {synapse_host}:{synapse_port}"
            )
        if not envoy_ready:
            print(
                f"Could not find backend {pod_ip}:{args.pod_port} for service {args.services} "
                f"on Envoy at {envoy_host}"
            )
        sys.exit(1)