Adding is_to_be_restarted method