[PATCH v2 20/35] monitor: drop unused monitor_is_qmp method