public static Optional<InternalProfileName> valueOfIgnoreCase(final String name) {
    return Arrays.stream(values())
        .filter(profile -> profile.name().equalsIgnoreCase(name))
        .findFirst();
  }
Returns the InternalProfileName that matches the given name, ignoring case.

@param name The profile name
@return Optional InternalProfileName if found, otherwise empty
app/src/main/java/org/hyperledger/besu/cli/config/InternalProfileName.java