[libvirt] [PATCHv7 14/18] util: Add function for checking if monitor is running