public boolean hasParameter(@NotNull @NonNls String parameter) {
    return ContainerUtil.lastIndexOf(myParameters, value -> parameter.equals(value.getLocalValue())) != -1;
  }
public boolean hasParameter(@NotNull @NonNls String parameter)