expanded determining-if-a-collection-holds-one-of-several-values