change the boolean type

Signed-off-by: yayanyang <yayanyang@gmail.com>