[Libvirt-cim] [PATCH 1 of 2] Add helper function to check for matching hypervisor class prefixes