  def IsCoveringPod(self, pod: base.K8sPod) -> bool:
    """Override of abstract method."""
    # Since labels are type Dict[str, str], we can use set-like operations
    # on the items of the dict
    return (
        self.namespace == pod.namespace and
        self._PodMatchLabels().items() <= pod.GetLabels().items())
Override of abstract method.
libcloudforensics/providers/kubernetes/workloads.py