def checkError(url, version):

    try:
        url += ".cfm"

        response = utility.requests_get(url)
        if response.status_code == 404:

            data = findall("\">Railo \d.\d", response.content)
            if len(data) > 0 and 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
Initialize all valid properties.
dataset/ETHPy150Open hatRiot/clusterd/src/platform/railo/interfaces.py/checkError--crossover with--dataset/ETHPy150Open smart-on-fhir/client-py/fhirclient/models/imagingobjectselection.py/ImagingObjectSelectionStudy.__init__