def METHOD_NAME(self, barcode, pin):
    jwt = self.jwt(barcode, pin)
    url = self.root + jwt
    try:
        response = self.request(url)
    except requests.exceptions.ConnectionError as e:
        raise RemoteInitiatedServerError(
            str(e),
            self.NAME
        )
    content = response.content.decode("utf8")
    if response.status_code != 200:
        msg = "Got unexpected response code %d. Content: %s" % (
            response.status_code, content
        )
        raise RemoteInitiatedServerError(msg, self.NAME)
    if self.SUCCESS_MESSAGE in content:
        return True
    return False