def METHOD_NAME(dict1, dict2, no_skip=False):
    """Merges two dictionaries where applicable"""
    for k in set(dict1) | set(dict2):
        if k in dict1 and k in dict2:
            if isinstance(dict1[k], dict) and isinstance(dict2[k], dict):
                yield k, dict(METHOD_NAME(dict1[k], dict2[k]))
            else:
                # value from dict2 overrides one in dict1.
                yield k, dict2[k]
        elif k in dict1:
            # not in dict2, keep values of dict1
            yield k, dict1[k]
        else:
            if no_skip:
                # non-default behavior, allow unmatched keys
                logger.warning("no_skip passed: allowing %s", k)
                yield k, dict2[k]
            else:
                # do nothing if its not present in dict1
                logger.warning("Skipping %s: not found in original toml", k)