code: def get_pod_by_uid(uid, podlist):
      
      for pod in podlist.get("items", []):
          try:
              if pod["metadata"]["uid"] == uid:
                  return pod
          except KeyError:
              continue
      return None
docs: Searches for a pod uid in the podlist and returns the pod if found
      :param uid: pod uid
      :param podlist: podlist dict object
      :return: pod dict object if found, None if not found