def METHOD_NAME(self):
    url = os.path.join(self.sandbox, "environments/%s/")
    try:
        r = requests.head(url % str(self.uuid), timeout=1)
        return 200 <= r.status_code <= 299
    except Exception:
        msg = "Could not join the sandbox '" + url + "'."
        logger.exception(msg)
        raise SandboxUnavailable(msg)