ES rolling upgrade from 6.3.2 to 6.8.22, ES plug-in version should be upgraded to 6.8.22?

Is it possible to do a pre-check to find out earlier? How can I check that different indexes contain shards of different lucene versions?