class_docstr: Phase of the Kubernetes Pod.
  
  Pod phases are defined in
  https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#pod-phase.
class_docstr_tok: ["Phase","of","the","Kubernetes","Pod",".","Pod","phases","are","defined","in","https",":","\/\/kubernetes.io\/docs\/concepts\/workloads\/pods\/pod-lifecycle\/","#","pod-phase","."]
code: def is_done(self):
      return self in (self.SUCCEEDED, self.FAILED)
  
imports: import datetime
  import enum
  import os
  import re
  import time
  from typing import Callable, Dict, List, Optional
  from absl import logging
  from kubernetes import client
  from kubernetes import config
label_desc: Use image node_id 1 for calling the PodPhase obj's underlying member method code with example usage: obj.is_done() and returns: unknown