Is there away to determine the version of Pythonista in code. I have a feeling there is not. I did what I remember seeing @omz do once. Try to import a 1.6 only Pytonista module then do something from there on except.
I used dialogs, as I thought it would be a light one to dummy import even though I am not using dialogs. (Is there a better one to use, if we do it this way?)
I did attempt to search the forum, but as you can imagine, this one of the worst search terms to be looking for here.