def check(self, ip, port=None):
        try:
            rport = self.port if port is None else port

            url = "{0}://{1}:{2}{3}".format("https" if "ssl" in dir(self) and self.ssl else "http",
                                            ip, rport, self.uri)
            response = utility.requests_get(url)

            utility.Msg("Fetching hash from {0}".format(response.url), LOG.DEBUG)
        
            if response.status_code == 200:

                hsh = md5(response.content).hexdigest()
                if type(self.hash) is list and hsh in self.hash:
                    return True
                elif hsh == self.hash:
                    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
Returns the tag name for the given type and name.
dataset/ETHPy150Open hatRiot/clusterd/src/core/cprint.py/FingerPrint.check--crossover with--dataset/ETHPy150Open google/vimdoc/vimdoc/module.py/VimPlugin.LookupTag