Returns true if v1 <= v2.

def _version_less_than_or_equal_to(self, v1, v2):
        """ Returns true if v1 <= v2. """
        # pylint: disable=no-name-in-module, import-error
        from distutils.version import LooseVersion
        return LooseVersion(v1) <= LooseVersion(v2)