monitor: Change return type of monitor_cur_is_qmp() to bool