def METHOD_NAME(self) -> bool:
    """
    Check if a submitted job is done
    """
    if self._job is None:
        return True
    self._status = self._solvers_api.inspect_job(
        self._solver_key, self._solver_version, self._job.id
    )
    if self._status.stopped_at:
        if self._status.state != "SUCCESS":
            logging.error(
                f"Failed job {self._job.id} with status {self._status.state}"
            )
            log: List[str] = [
                f"Failed to solve job with status {self._status.state}",
                "Server log:",
            ]
            log += self._generate_isolve_log()
            raise OSparcServerException("\n".join(log))
        return True
    else:
        return False