def get_dict_depth(_dict):
    """ Get dictionary's depth or 'nestedness' """
    if isinstance(_dict, dict):
        return 1 + (min(map(get_dict_depth, _dict.values()))
            if _dict else 0)

    return 0