def METHOD_NAME(self):
    from geonode.utils import http_client
    try:
        resp, _ = http_client.request(self.url)
        return resp.status_code in (200, 201)
    except Exception:
        return False