public boolean isConfigSpecifiedInBothSources(
      final Map<String, String> environment, final CommandLine.ParseResult parseResult) {
    return parseResult.hasMatchedOption(getConfigOptionName())
        && environment.containsKey(getConfigEnvName());
  }
Checks if the configuration resource is specified in both command line options and environment
variables.

@param environment the environment variables
@param parseResult the command line parse result
@return true if the configuration resource is specified in both places, false otherwise
app/src/main/java/org/hyperledger/besu/cli/util/AbstractConfigurationFinder.java