def _copy_without_ignore_items(the_dict, ignored_keys=['ignore']):
    """
    get a copy of *the_dict* without entries having substring
    'ignore' in key
    """
    new_dict = {}
    for key, val in list(the_dict.items()):
        if key not in ignored_keys:
            new_dict[key] = val
    return new_dict
