### Problem <!-- For a bug report, please copy and paste any error messages from the application or command-line here. For a feature request, please state how the new functionality could benefit the community. --> ### Proposed solution Similar to the function `check_and_build_global_config()` but this function supports any key-value pair so it can support more use cases