This take 2 seconds and runs infrequently.  -1 to this idea.  The code that was here simply prevented upgrades, which is why I removed it.  We could drop a file with the version in it in /edx/var/elasticsearch, which I considered, but I don't think it is worth the trouble.