You can try to use utils_libguestfs module to check it.