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