@Override
  @NotNull
  public Iterator<String> iterator() {
    if (domains.size() == 1 && domains.get(0).equals("none")) {
      return Collections.emptyIterator();
    } else {
      return domains.iterator();
    }
  }
Instantiates a new Cors allowed origins property.
app/src/main/java/org/hyperledger/besu/cli/custom/CorsAllowedOriginsProperty.java