[PATCH v3 2/5] test: Implement virNodeDeviceIsActive