public boolean hasLastAttempt() {
      return ((bitField0_ & 0x00000200) != 0);
    }
<pre>
Output only. The status of the task's last attempt.
</pre>

<code>.google.cloud.tasks.v2.Attempt last_attempt = 10;</code>

@return Whether the lastAttempt field is set.
java-tasks/proto-google-cloud-tasks-v2/src/main/java/com/google/cloud/tasks/v2/Task.java