def _validate_version(self, version):
        if version not in self.VALID_TEMPLATE_VERSIONS:
            ExceptionCollector.appendException(
                InvalidTemplateVersion(
                    what=version,
                    valid_versions=', '. join(self.VALID_TEMPLATE_VERSIONS)))
        else:
            if version in 'tosca_simple_yaml_1_0':
                update_definitions(version)
dataset/ETHPy150Open openstack/tosca-parser/toscaparser/tosca_template.py/ToscaTemplate._validate_version/operator `!=` -> `in`