def METHOD_NAME(dut):
    db_map_read(dut)
    db_cli = st.getenv("SPYTEST_REDIS_DB_CLI_TYPE", "1")
    if db_cli in ["0", "1", "2"]:
        return db_cli
    output = st.show(dut, 'ls /usr/local/bin/sonic-db-cli', skip_tmpl=True)
    return "0" if re.search(r'No such file or directory', output) else "2"