you can use ```if '-dev' in openslides_version_string```. I am sure it is quite faster then cutting the last part of the string and comparing it with the other string.