'Get all values nested in the given dictionaries.
Args:
dicts: List of dictionaries to go through.
Returns:
([nested values], status) where status is True if nested values are
dictionaries and False otherwise.
Raises:
RuntimeError: if some nested values are dictionaries and some are not.'

def _GetNestedValues(self, dicts):

    new_dicts = []
    for current_dict in dicts:
        for (_, value) in current_dict.iteritems():
            new_dicts.append(value)
    sub_dicts = [x for x in new_dicts if hasattr(x, 'iteritems')]
    if (not sub_dicts):
        return (new_dicts, False)
    elif (len(sub_dicts) == len(new_dicts)):
        return (new_dicts, True)
    else:
        raise RuntimeError('Inconsistent    values    hierarchy.')
