def METHOD_NAME(request: SubRequest) -> bool:
    command = [
        "det",
        "-m",
        config.make_master_url(),
        "master",
        "config",
        "--json",
    ]
    with logged_in_user(ADMIN_CREDENTIALS):
        output = subprocess.check_output(command, universal_newlines=True, stderr=subprocess.PIPE)
    rp = json.loads(output)["resource_manager"]["type"]
    return bool(rp == "kubernetes")