parameters: (bisect_job)
return_statement: return bisect_job.last_ran_timestamp <= old_timestamp
docstring: Whether bisect job is due for restart.
docstring_summary: Whether bisect job is due for restart.
docstring_tokens: Whether bisect job is due for restart .
function: def _IsBisectJobDueForRestart(bisect_job):
    """Whether bisect job is due for restart."""
    old_timestamp = (datetime.datetime.now() - datetime.timedelta(
        days=_BISECT_RESTART_PERIOD_DAYS[bisect_job.run_count - 1]))
    return bisect_job.last_ran_timestamp <= old_timestamp
function_tokens: def _IsBisectJobDueForRestart ( bisect_job ) : old_timestamp = ( datetime . datetime . now ( ) - datetime . timedelta ( days = _BISECT_RESTART_PERIOD_DAYS [ bisect_job . run_count - 1 ] ) ) return bisect_job . last_ran_timestamp <= old_timestamp