def _has_local_storage(pod):
    """Check if a pod has local storage.

    Args:
      - pod: kubernetes pod object
    Returns: True if the pod uses local storage, False if not
    """
    for volume in pod["spec"].get("volumes", []):
        if volume.get("emptyDir") is not None:
            return True
    return False