def stuff_in_dict(this_dict, key):
    """
    if the `this_dict` dictionary is not empty then return a new dictionary that
    has one (key, value) pair, where the key is set to `key` and the value is set to `this_dict`

    :param this_dict: dictionary
    :param key: string
    :return: dictionary
    """
    return {key: this_dict} if len(this_dict) > 0 else {}
