Didn't understand, sorry.  You have a similar check above.  Why checking python version twice in the code?