def _is_cluster_volume(cluster_id, ebs_volume):
    if ebs_volume.tags is not None:
        actual_cluster_id = [
            tag['Value'] for tag in ebs_volume.tags
            if tag['Key'] == CLUSTER_ID_LABEL
        ]
        if actual_cluster_id:
            actual_cluster_id = UUID(actual_cluster_id.pop())
            if actual_cluster_id == cluster_id:
                return True
    return False
Helper function to check if given volume belongs to
dataset/ETHPy150Open ClusterHQ/flocker/flocker/node/agents/ebs.py/_is_cluster_volume