def check(self, ip, port = None):
        
        try:
            rport = self.port if port is None else port
            url = 'http://{0}:{1}{2}'.format(ip, rport, self.uri)

            response = utility.requests_get(url)
            if response.status_code is 200:

                data = findall("version is (.*?)</", 
                                    response.content.translate(None,'\n'))
                if len(data) > 0 and self.version in data[0]:
                    return True

        except exceptions.Timeout:
            utility.Msg("{0} timeout to {1}:{2}".format(self.platform, ip,
                                                rport), LOG.DEBUG)

        except exceptions.ConnectionError:
            utility.Msg("{0} connection error to {1}:{2}".format(self.platform,
                                                         ip, rport), LOG.DEBUG)

        return False
Collect the list of installed visual studio versions.
dataset/ETHPy150Open hatRiot/clusterd/src/platform/axis2/interfaces.py/DefaultServer.check--crossover with--dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/MSVSVersion.py/_DetectVisualStudioVersions