[#79169804] add check_cycles param.