@staticmethod
def _conn_has_min_version(conn, lv_ver=None, hv_ver=None, hv_type=None):
    try:
        if (lv_ver is not None):
            libvirt_version = conn.getLibVersion()
            if (libvirt_version < utils.convert_version_to_int(lv_ver)):
                return False
        if (hv_ver is not None):
            hypervisor_version = conn.getVersion()
            if (hypervisor_version < utils.convert_version_to_int(hv_ver)):
                return False
        if (hv_type is not None):
            hypervisor_type = conn.getType()
            if (hypervisor_type != hv_type):
                return False
        return True
    except Exception:
        return False
@staticmethod
def _conn_has_min_version(conn, lv_ver=None, hv_ver=None, hv_type=None):
    try:
        if (lv_ver is not None):
            libvirt_version = conn.getLibVersion()
            if (libvirt_version < utils.convert_version_to_int(lv_ver)):
                return False
        if (hv_ver is not None):
            hypervisor_version = conn.getVersion()
            if (hypervisor_version < utils.convert_version_to_int(hv_ver)):
                return False
        if (hv_type is not None):
            hypervisor_type = conn.getType()
            if (hypervisor_type != hv_type):
                return False
        return True
    except Exception:
        return False