/// <summary>
 /// Determines if a Kubernetes resource has a specific label with a value matching one of a set of <paramref name="expectedValues"/>.
 /// </summary>
 public static bool HasLabel(this KubeResourceV1 resource, string labelName, ISet <string> expectedValues)
 => resource.TryGetLabel(labelName, out string value) && expectedValues.Contains(value);
 /// <summary>
 /// Determines if a Kubernetes resource has a specific label with a specific value.
 /// </summary>
 public static bool HasLabel(this KubeResourceV1 resource, string labelName, string expectedValue)
 => resource.TryGetLabel(labelName, out string value) && value == expectedValue;