public static boolean containsString(final Collection<? extends GenericValue<?>> collection, String value) {
    for (GenericValue<?> o : collection) {
      if (Objects.equals(value, o.getStringValue())) return true;
    }
    return false;
  }
public static boolean containsString(final Collection<? extends GenericValue<?>> collection, String value)