code: def pod_is_done(resp: k8s_client.V1Pod) -> bool:
      return PodPhase(resp.status.phase).is_done
  
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 3 for calling a global function with example usage: pod_is_done(resp) and returns: PodPhase